mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
fix: intermittent failure in feature_governance.py by bump timeout
This commit is contained in:
parent
c3d585827f
commit
f16b998632
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user