Skip to content

Commit

Permalink
GH-3 There are three producers A,B,C if the test happens to hit this …
Browse files Browse the repository at this point in the history
…at time of C production it will not get a block until A turn. Need to wait at least 7 seconds. Used 10 here to provide a bit of buffer.
  • Loading branch information
heifner committed Apr 12, 2024
1 parent 382f648 commit 508b584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/nodeos_snapshot_forked_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def getSnapshotsCount(nodeId):
while nonProdNode.verifyAlive() and count > 0:
# wait on prodNode 0 since it will continue to advance, since defproducera and defproducerb are its producers
Print("Wait for next block")
assert prodAB.waitForNextBlock(timeout=6), "Production node AB should continue to advance, even after bridge node is killed"
assert prodAB.waitForNextBlock(timeout=10), "Production node AB should continue to advance, even after bridge node is killed"
count -= 1

# schedule a snapshot that should get finalized
Expand Down

0 comments on commit 508b584

Please sign in to comment.