mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 04:12:36 -03:00
Merge #16538: test: Add missing sync_blocks to feature_pruning
fa566b2601
test: Add missing sync_blocks to feature_pruning (MarcoFalke) Pull request description: Fixes #16537 Fixes #16520 ACKs for top commit: promag: ACKfa566b2601
. jonatack: ACKfa566b2601
. These past few months I have been seeing intermittent failures with this test on master. Ran `(for i in {1..40}; do test/functional/feature_pruning.py -l=debug; done)` overnight with this change; no failures. Tree-SHA512: 5181d5ea525f43ad09e1c8b9ae72e32219f483948854c6dc07dda24b790cbdf4012e586253a0e158a71a980d1ca9f5fdf06aafbe95b8ea3d9154ef2c8687395b
This commit is contained in:
commit
6b6386e854
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@ class PruneTest(BitcoinTestFramework):
|
|||
self.log.info("Mine 220 more large blocks so we have requisite history")
|
||||
|
||||
mine_large_blocks(self.nodes[0], 220)
|
||||
self.sync_blocks(self.nodes[0:3], timeout=120)
|
||||
|
||||
usage = calc_usage(self.prunedir)
|
||||
self.log.info("Usage should be below target: %d" % usage)
|
||||
|
|
Loading…
Reference in a new issue