Skip to content

Commit 5c128b4

Browse files
committed
Since Savanna consensus at genesis, wait another block to trigger the snapshot creation. The LIB wait was enough before because LIB was not immediately available on restart.
1 parent 1cb72e4 commit 5c128b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/nodeop_snapshot_diff_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def waitForBlock(node, blockNum, blockType=BlockType.head, timeout=None, reportI
184184
nodeIrr.relaunch()
185185

186186
Print("Wait for programmable node lib to advance")
187-
waitForBlock(nodeProg, ret_head_block_num, blockType=BlockType.lib)
187+
waitForBlock(nodeProg, ret_head_block_num+1, blockType=BlockType.lib)
188188

189189
Print("Kill programmable node")
190190
nodeProg.kill(signal.SIGTERM)

0 commit comments

Comments
 (0)