tdSql.query("show dnodes")
This commit is contained in:
parent
a9f4b09146
commit
f69f1bb1dc
|
@ -144,7 +144,7 @@ class TDTestCase:
|
||||||
|
|
||||||
# recreate mnode
|
# recreate mnode
|
||||||
tdSql.execute("drop dnode 2;")
|
tdSql.execute("drop dnode 2;")
|
||||||
tdSql.execute('create dnode "chenhaoran02:6130";')
|
tdSql.execute('create dnode "%s:6130";'%self.host)
|
||||||
tdDnodes=cluster.dnodes
|
tdDnodes=cluster.dnodes
|
||||||
tdDnodes[1].stoptaosd()
|
tdDnodes[1].stoptaosd()
|
||||||
tdDnodes[1].deploy()
|
tdDnodes[1].deploy()
|
||||||
|
|
|
@ -55,6 +55,7 @@ class ClusterComCheck:
|
||||||
count+=1
|
count+=1
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
else:
|
else:
|
||||||
|
tdSql.query("show dnodes")
|
||||||
tdLog.debug(tdSql.queryResult)
|
tdLog.debug(tdSql.queryResult)
|
||||||
tdLog.exit("it find cluster with %d dnodes but check that there dnodes are not ready within 30s ! "%dnodeNumbers)
|
tdLog.exit("it find cluster with %d dnodes but check that there dnodes are not ready within 30s ! "%dnodeNumbers)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue