Skip to content

Commit

Permalink
Merge pull request #258 from AntelopeIO/GH-246-test-fix-main
Browse files Browse the repository at this point in the history
[1.0-beta2 -> main] Test: Allow time for blocks to reach snapshot node
  • Loading branch information
heifner authored Jun 8, 2024
2 parents 72188eb + 2e68f24 commit 029c88b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/nodeos_chainbase_allocation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def isSetProdsBlockNumIrr():

producerNode.kill(signal.SIGTERM)

# wait for all blocks to arrive and be processed by irrNode
time.sleep(3)

# Create the snapshot and rename it to avoid name conflict later on
res = irrNode.createSnapshot()
beforeShutdownSnapshotPath = res["payload"]["snapshot_name"]
Expand Down

0 comments on commit 029c88b

Please sign in to comment.