Skip to content

Commit bb55a41

Browse files
committed
GH-1101 Update test to allow for block processing after bios kill
1 parent 3b82bed commit bb55a41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/p2p_no_blocks_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@
9797
Print("Killing bios node")
9898
cluster.biosNode.kill(signal.SIGTERM)
9999

100+
# blocks could be received but not processed, so give a bit of delay for blocks to be processed
101+
time.sleep(1)
102+
100103
Print("Verify head no longer advancing after bios killed")
101104
assert not noBlocks02.waitForHeadToAdvance(), "head advanced on node02 unexpectedly"
102105
assert not noBlocks03.waitForHeadToAdvance(), "head advanced on node03 unexpectedly"

0 commit comments

Comments
 (0)