From a762416547d501463f8fa932156cd43e625c8a83 Mon Sep 17 00:00:00 2001 From: kayan Date: Tue, 17 Sep 2024 11:37:10 +0800 Subject: [PATCH] test web-socket fork test instablity --- tests/nodeos_eos_evm_ws_test_fork.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/nodeos_eos_evm_ws_test_fork.py b/tests/nodeos_eos_evm_ws_test_fork.py index 633c1c0..90345a2 100755 --- a/tests/nodeos_eos_evm_ws_test_fork.py +++ b/tests/nodeos_eos_evm_ws_test_fork.py @@ -1084,22 +1084,30 @@ def makeReservedEvmAddress(account): blockProducers0=[] blockProducers1=[] + + Utils.Print("closing websocket") ws.close() testSuccessful= not foundErr except Exception as ex: Utils.Print("Exception:" + str(ex)) finally: + Utils.Print("shutting down cluster") TestHelper.shutdown(cluster, walletMgr, testSuccessful=testSuccessful, dumpErrorDetails=dumpErrorDetails) if killEosInstances: if evmNodePOpen is not None: + Utils.Print("killing evm-node pipe") evmNodePOpen.kill() if evmRPCPOpen is not None: + Utils.Print("killing evm-rpc-node pipe") evmRPCPOpen.kill() if eosEvmMinerPOpen is not None: + Utils.Print("killing miner pipe") eosEvmMinerPOpen.kill() if wsproxy is not None: + Utils.Print("killing wsproxy") wsproxy.kill() +Utils.Print("exit eos evm web-socket fork test") exitCode = 0 if testSuccessful else 1 exit(exitCode)