提交 f69f1bb1 编写于 作者: haoranc's avatar haoranc

tdSql.query("show dnodes")

上级 a9f4b091
......@@ -144,7 +144,7 @@ class TDTestCase:
# recreate mnode
tdSql.execute("drop dnode 2;")
tdSql.execute('create dnode "chenhaoran02:6130";')
tdSql.execute('create dnode "%s:6130";'%self.host)
tdDnodes=cluster.dnodes
tdDnodes[1].stoptaosd()
tdDnodes[1].deploy()
......
......@@ -55,6 +55,7 @@ class ClusterComCheck:
count+=1
time.sleep(1)
else:
tdSql.query("show dnodes")
tdLog.debug(tdSql.queryResult)
tdLog.exit("it find cluster with %d dnodes but check that there dnodes are not ready within 30s ! "%dnodeNumbers)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册