Skip to content

Commit

Permalink
Merge pull request #2015 from AntelopeIO/GH-2006-fix-test-5.0
Browse files Browse the repository at this point in the history
[5.0] Test: Check for unlinkable blocks while syncing - 2
  • Loading branch information
heifner authored Dec 21, 2023
2 parents 4becdd5 + fddc8ed commit debef7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/nodeos_startup_catchup.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def waitForNodeStarted(node):
logFile = Utils.getNodeDataDir(catchupNodeNum) + "/stderr.txt"
f = open(logFile)
contents = f.read()
if contents.count("unlinkable_block_exception") > 3: # a few are fine
if contents.count("3030001 unlinkable_block_exception: Unlinkable block") > 10: # a few are fine
errorExit(f"Node{catchupNodeNum} has unlinkable blocks: {logFile}.")

testSuccessful=True
Expand Down

0 comments on commit debef7f

Please sign in to comment.