未验证 提交 8f63b9f4 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #17644 from taosdata/test3.0/lihui

modify start api for no remove taosdlog file
......@@ -240,12 +240,14 @@ class TDTestCase:
time.sleep(3)
tdLog.info("================= stop dnode, and remove data file, then start dnode ===========================")
tdDnodes.stop(1)
# time.sleep(5)
dataPath = buildPath + "/../sim/dnode1/data/*"
shellCmd = 'rm -rf ' + dataPath
tdLog.info(shellCmd)
os.system(shellCmd)
tdDnodes.start(1)
#tdDnodes.start(1)
tdDnodes.starttaosd(1)
time.sleep(2)
######### redo to consume
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册