Skip to content

Commit 201b9a0

Browse files
committed
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.
1 parent 1bad29f commit 201b9a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/feature_index_prune.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def run_test(self):
138138
self.connect_nodes(i, 3)
139139

140140
self.sync_blocks(timeout=300)
141+
self.sync_index(height=2500)
141142

142143
for node in self.nodes[:2]:
143144
with node.assert_debug_log(['limited pruning to height 2489']):

0 commit comments

Comments
 (0)