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

Commit

Permalink
Merge pull request #7076 from EOSIO/catchup_fix
Browse files Browse the repository at this point in the history
Fix for Catchup long running test exhausting memory
  • Loading branch information
heifner committed Apr 5, 2019
2 parents 80f20d9 + 572dd5d commit 3e35838
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 3e35838

Please sign in to comment.