提交 f3d5ac49 编写于 作者: C cpwu

fix dnodes cfg

上级 ba45b52e
...@@ -36,9 +36,9 @@ class TDSimClient: ...@@ -36,9 +36,9 @@ class TDSimClient:
"rpcDebugFlag": "143", "rpcDebugFlag": "143",
"tmrDebugFlag": "131", "tmrDebugFlag": "131",
"cDebugFlag": "143", "cDebugFlag": "143",
"udebugFlag": "143", "uDebugFlag": "143",
"jnidebugFlag": "143", "jniDebugFlag": "143",
"qdebugFlag": "143", "qDebugFlag": "143",
"supportVnodes": "1024", "supportVnodes": "1024",
"telemetryReporting": "0", "telemetryReporting": "0",
} }
...@@ -134,7 +134,6 @@ class TDDnode: ...@@ -134,7 +134,6 @@ class TDDnode:
"uDebugFlag": "131", "uDebugFlag": "131",
"sDebugFlag": "143", "sDebugFlag": "143",
"wDebugFlag": "143", "wDebugFlag": "143",
"qdebugFlag": "143",
"numOfLogLines": "100000000", "numOfLogLines": "100000000",
"statusInterval": "1", "statusInterval": "1",
"supportVnodes": "1024", "supportVnodes": "1024",
...@@ -484,7 +483,7 @@ class TDDnode: ...@@ -484,7 +483,7 @@ class TDDnode:
psCmd = "ps -ef|grep -w %s| grep -v grep | awk '{print $2}'" % toBeKilled psCmd = "ps -ef|grep -w %s| grep -v grep | awk '{print $2}'" % toBeKilled
processID = subprocess.check_output( processID = subprocess.check_output(
psCmd, shell=True).decode("utf-8") psCmd, shell=True).decode("utf-8")
onlyKillOnceWindows = 0 onlyKillOnceWindows = 0
while(processID): while(processID):
if not platform.system().lower() == 'windows' or (onlyKillOnceWindows == 0 and platform.system().lower() == 'windows'): if not platform.system().lower() == 'windows' or (onlyKillOnceWindows == 0 and platform.system().lower() == 'windows'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册