Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix for bad alloc for catchup test.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjohnson5972 committed Apr 5, 2019
1 parent 80f20d9 commit 572dd5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/nodeos_startup_catchup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from WalletMgr import WalletMgr
from Node import BlockType
from Node import Node
import signal
from TestHelper import AppArgs
from TestHelper import TestHelper

Expand Down Expand Up @@ -167,6 +168,8 @@ def head(node):
Print("Verify catchup node is advancing to producer")
# verify catchup node is advancing to producer
catchupNode.waitForBlock(lastLibNum, timeout=(numBlocksToCatchup)/2, blockType=BlockType.lib)
catchupNode.kill(signal.SIGTERM)
catchupNode.popenProc=None

testSuccessful=True

Expand Down

0 comments on commit 572dd5d

Please sign in to comment.