提交 5c6c3d88 编写于 作者: C Ciju John

Update executable paths. Renamed script.

上级 08a09e35
......@@ -66,3 +66,4 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/trans_sync_across_mixed_cluster_test.
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/distributed-transactions-test.py ${CMAKE_CURRENT_BINARY_DIR}/distributed-transactions-test.py COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/restart-scenarios-test.py ${CMAKE_CURRENT_BINARY_DIR}/restart-scenarios-test.py COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/testUtils.py ${CMAKE_CURRENT_BINARY_DIR}/testUtils.py COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/eosiod_run_test.py ${CMAKE_CURRENT_BINARY_DIR}/eosiod_run_test.py COPYONLY)
......@@ -20,9 +20,10 @@ import json
class Utils:
Debug=False
FNull = open(os.devnull, 'w')
EosClientPath="programs/eosc/eosc"
EosWalletPath="programs/eos-walletd/eos-walletd"
EosServerPath="programs/eosiod/eosiod"
EosClientPath="programs/eosioc/eosioc"
EosWalletPath="programs/eosio-walletd/eosio-walletd"
EosServerName="eosiod"
EosServerPath="programs/eosiod/%s" % (EosServerName)
EosLauncherPath="programs/launcher/launcher"
@staticmethod
......@@ -813,7 +814,7 @@ class Cluster(object):
Utils.EosLauncherPath, pnodes, total_nodes, topo, delay)
cmdArr=cmd.split()
if not self.walletd:
cmdArr.append("--eosd")
cmdArr.append("--eosiod")
cmdArr.append("--plugin eosio::wallet_api_plugin")
Utils.Print("cmd: ", cmdArr)
if 0 != subprocess.call(cmdArr):
......@@ -1169,7 +1170,7 @@ class Cluster(object):
nodes=[]
try:
cmd="pgrep -a eosd"
cmd="pgrep -a %s" % (Utils.EosServerName)
Utils.Debug and Utils.Print("cmd: %s" % (cmd))
psOut=subprocess.check_output(cmd.split()).decode("utf-8")
#Utils.Print("psOut: <%s>" % psOut)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册