Skip to content

Commit

Permalink
GH-570 Fix for merge of #1068
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jan 2, 2025
1 parent f0e8381 commit 12798d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/pause_at_block_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@
irrvNode.processUrllibRequest("producer", "pause_at_block", {"block_num":blockNum}),

assert prodNode.waitForLibToAdvance(), "LIB did not advance with paused nodes"
# blockNum -1 since waitForBlock uses `> blockNum` instead of `>=`
assert prodNode2.waitForBlock(blockNum-1), f"Block {blockNum} did not arrive after pausing"
assert prodNode2.waitForBlock(blockNum), f"Block {blockNum} did not arrive after pausing"

Utils.Print(f"Verify paused at block {blockNum}")
assert prodNode2.getHeadBlockNum() == blockNum, "Prod Node_01 did not pause at block"
Expand Down

0 comments on commit 12798d5

Please sign in to comment.