Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
taokayan committed Aug 5, 2024
1 parent 6254459 commit 9c75ded
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/nodeos_eos_evm_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,13 +1056,7 @@ def get_block(num):
# Validate all balances (check evmtx event)
validate_all_balances()

sys.stdout.flush()
sys.stderr.flush()

Utils.Print("checking %s for errors" % (nodeStdErrDir))
sys.stdout.flush()
sys.stderr.flush()

foundErr = False
stdErrFile = open(nodeStdErrDir, "r")
lines = stdErrFile.readlines()
Expand All @@ -1072,9 +1066,6 @@ def get_block(num):
foundErr = True

Utils.Print("checking %s for errors" % (rpcStdErrDir))
sys.stdout.flush()
sys.stderr.flush()

stdErrFile = open(rpcStdErrDir, "r")
lines = stdErrFile.readlines()
for line in lines:
Expand All @@ -1083,24 +1074,16 @@ def get_block(num):
foundErr = True

testSuccessful= not foundErr

if testSuccessful:
Utils.Print("test success, ready to shut down cluster")
else:
Utils.Print("test failed, ready to shut down cluster")

sys.stdout.flush()
sys.stderr.flush()
finally:
Utils.Print("test success, shutting down cluster")
sys.stdout.flush()
sys.stderr.flush()

TestHelper.shutdown(cluster, walletMgr, testSuccessful=testSuccessful, dumpErrorDetails=dumpErrorDetails)
if killEosInstances:
Utils.Print("killing EOS instances")
sys.stdout.flush()
sys.stderr.flush()
if evmNodePOpen is not None:
evmNodePOpen.kill()
if evmRPCPOpen is not None:
Expand Down

0 comments on commit 9c75ded

Please sign in to comment.