Skip to content

Commit

Permalink
GH-1101 Update test to allow for block processing after bios kill
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jan 22, 2025
1 parent 3b82bed commit bb55a41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/p2p_no_blocks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
Print("Killing bios node")
cluster.biosNode.kill(signal.SIGTERM)

# blocks could be received but not processed, so give a bit of delay for blocks to be processed
time.sleep(1)

Print("Verify head no longer advancing after bios killed")
assert not noBlocks02.waitForHeadToAdvance(), "head advanced on node02 unexpectedly"
assert not noBlocks03.waitForHeadToAdvance(), "head advanced on node03 unexpectedly"
Expand Down

0 comments on commit bb55a41

Please sign in to comment.