fix: intermittent failure in feature_governance.py by bump timeout

This commit is contained in:
Konstantin Akimov 2024-08-14 15:14:20 +07:00
parent c3d585827f
commit f16b998632
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -348,7 +348,7 @@ class DashGovernanceTest (DashTestFramework):
self.bump_mocktime(1) self.bump_mocktime(1)
self.sync_blocks() self.sync_blocks()
# Wait for new trigger and votes # Wait for new trigger and votes
self.wait_until(lambda: self.have_trigger_for_height(260), timeout=5) self.wait_until(lambda: self.have_trigger_for_height(260))
# Mine superblock # Mine superblock
self.nodes[0].generate(1) self.nodes[0].generate(1)
self.bump_mocktime(1) self.bump_mocktime(1)
@ -364,7 +364,7 @@ class DashGovernanceTest (DashTestFramework):
self.sync_blocks() self.sync_blocks()
# Wait for new trigger and votes # Wait for new trigger and votes
sb_block_height = 260 + (i + 1) * sb_cycle sb_block_height = 260 + (i + 1) * sb_cycle
self.wait_until(lambda: self.have_trigger_for_height(sb_block_height), timeout=5) self.wait_until(lambda: self.have_trigger_for_height(sb_block_height))
# Mine superblock # Mine superblock
self.nodes[0].generate(1) self.nodes[0].generate(1)
self.bump_mocktime(1) self.bump_mocktime(1)