From 9c75dedf93a7fd9c4cecaf38a98ba661ab098ab1 Mon Sep 17 00:00:00 2001 From: kayan Date: Mon, 5 Aug 2024 11:35:20 +0800 Subject: [PATCH] remove logs --- tests/nodeos_eos_evm_test.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/nodeos_eos_evm_test.py b/tests/nodeos_eos_evm_test.py index 24b96a5..2f6736a 100755 --- a/tests/nodeos_eos_evm_test.py +++ b/tests/nodeos_eos_evm_test.py @@ -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() @@ -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: @@ -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: