diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-15 09:19:41 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-15 09:19:43 +0200 |
commit | b74a6dde8cf50703a8814d402333580e4cdfea59 (patch) | |
tree | 7095178d734d33e7dc23e7549bbbcd53c85d009d /src/validationinterface.cpp | |
parent | 225e5b57b2ee2bc1acd7f09c89ccccc15ef8c85f (diff) | |
parent | 4faa5500724e3b1423ce1f927236b1ab1ac07943 (diff) |
Merge bitcoin/bitcoin#25123: test: Fix race condition in index prune test
4faa5500724e3b1423ce1f927236b1ab1ac07943 test: Fix race condition in index pruning test (Fabian Jahr)
Pull request description:
Fixes #25031
The `feature_index_prune.py` test seems to be racy because connections are reestablished after restarts and the blocks are synced via the `sync_blocks` function. The `sync_blocks` function has a sanity check at the beginning to check that all nodes in the set have at least one established connection and that is not always the case.
As a solution nodes are not connected via the `-connect` parameter on start but instead via the `connect_nodes` helper.
Top commit has no ACKs.
Tree-SHA512: f88377715f455f1620725fe8ebd6b486fa0209660b193bf68d1ce1452e2086ac5d169d8ca4c2b61443566232e96fb9c6386ee482bc546cce38078d72e7c3c29f
Diffstat (limited to 'src/validationinterface.cpp')
0 files changed, 0 insertions, 0 deletions