Skip to content

Commit a357d4f

Browse files
authored
Merge pull request #1638 from AntelopeIO/GH-1637-pause-test-1.2
[1.2.0] Test: Wait on block before verification of pause
2 parents 214dbcc + 4cc7113 commit a357d4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/pause_at_block_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@
6464

6565
assert prodNode.waitForLibToAdvance(), "LIB did not advance with paused nodes"
6666
assert prodNode2.waitForBlock(blockNum), f"Block {blockNum} did not arrive after pausing"
67+
assert headNode.waitForBlock(blockNum), f"Block {blockNum} did not arrive after pausing"
68+
assert specNode.waitForBlock(blockNum), f"Block {blockNum} did not arrive after pausing"
69+
assert irrvNode.waitForBlock(blockNum), f"Block {blockNum} did not arrive after pausing"
6770

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

0 commit comments

Comments
 (0)