Skip to content

Commit

Permalink
GH-13 Use non-default timeout so waitForBlock does not error out
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Apr 30, 2024
1 parent b357eab commit 62344ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/disaster_recovery_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
lib = node0.getIrreversibleBlockNum()
node0.processUrllibRequest("producer", "pause")
# wait for lib because waitForBlock uses > not >=
if node0.waitForBlock(lib, blockType=BlockType.lib):
if node0.waitForBlock(lib, blockType=BlockType.lib, timeout=10):
break
node0.processUrllibRequest("producer", "resume")
time.sleep(0.25)
Expand Down

0 comments on commit 62344ca

Please sign in to comment.