diff options
author | Martin Zumsande <mzumsande@gmail.com> | 2022-10-28 15:24:22 -0400 |
---|---|---|
committer | Martin Zumsande <mzumsande@gmail.com> | 2022-10-28 15:25:12 -0400 |
commit | 201b9a02fd9885ce40999e383cf75b8354d6ef26 (patch) | |
tree | 59e522af7ecffd45a84d9fddbd9ec24cc3d105ac | |
parent | 1bad29fe02096b269858b192a4a91c785a44e505 (diff) | |
download | bitcoin-201b9a02fd9885ce40999e383cf75b8354d6ef26.tar.xz |
test: fix intermittent failure in feature_index_prune.py
After syncing the blocks, we didn't check that the
indexes have caught up to the tip before manually pruning.
This could lead to prune blockers lower thatn the expected height.
-rwxr-xr-x | test/functional/feature_index_prune.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/feature_index_prune.py b/test/functional/feature_index_prune.py index bc85e43a57..4b7a50c1c7 100755 --- a/test/functional/feature_index_prune.py +++ b/test/functional/feature_index_prune.py @@ -138,6 +138,7 @@ class FeatureIndexPruneTest(BitcoinTestFramework): self.connect_nodes(i, 3) self.sync_blocks(timeout=300) + self.sync_index(height=2500) for node in self.nodes[:2]: with node.assert_debug_log(['limited pruning to height 2489']): |