diff --git a/tests/system-test/6-cluster/5dnode3mnodeRecreateMnode.py b/tests/system-test/6-cluster/5dnode3mnodeRecreateMnode.py index 7cef9cc3964edbee3a5147a117539cdac0c50d67..48ee90fad2a755862561bcde88feff27a6b68639 100644 --- a/tests/system-test/6-cluster/5dnode3mnodeRecreateMnode.py +++ b/tests/system-test/6-cluster/5dnode3mnodeRecreateMnode.py @@ -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() diff --git a/tests/system-test/6-cluster/clusterCommonCheck.py b/tests/system-test/6-cluster/clusterCommonCheck.py index 992d77b03b04a20362393768aafaca08d9de121f..3033914f0b809b2c14b70124c0e85f1c8ccb7216 100644 --- a/tests/system-test/6-cluster/clusterCommonCheck.py +++ b/tests/system-test/6-cluster/clusterCommonCheck.py @@ -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)