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

Fix for Catchup long running test exhausting memory #7076

Merged
merged 1 commit into from
Apr 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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