diff --git a/tests/system-test/6-cluster/5dnode1mnode.py b/tests/system-test/6-cluster/5dnode1mnode.py index 7b5371ef9bd279b7c1591a4034c4649e95c57bbf..548dd6c247cb32bb08b54b48e20259724ec9a529 100644 --- a/tests/system-test/6-cluster/5dnode1mnode.py +++ b/tests/system-test/6-cluster/5dnode1mnode.py @@ -141,33 +141,33 @@ class TDTestCase: # check cluster alive tdLog.printNoPrefix("======== test cluster alive: ") tdSql.query("show cluster alive;") - tdSql.checkData(0, 0, "1") + tdSql.checkData(0, 0, 1) tdSql.query("show db.alive;") - tdSql.checkData(0, 0, "1") + tdSql.checkData(0, 0, 1) # stop 5 dnode self.TDDnodes[4].stoptaosd() tdSql.query("show cluster alive;") - tdSql.checkData(0, 0, "2") + tdSql.checkData(0, 0, 2) tdSql.query("show db.alive;") - tdSql.checkData(0, 0, "2") + tdSql.checkData(0, 0, 2) # stop 2 dnode self.TDDnodes[1].stoptaosd() tdSql.query("show cluster alive;") - tdSql.checkData(0, 0, "0") + tdSql.checkData(0, 0, 0) tdSql.query("show db.alive;") - tdSql.checkData(0, 0, "0") + tdSql.checkData(0, 0, 0) def run(self): # print(self.master_dnode.cfgDict) self.five_dnode_one_mnode() # check cluster and db alive - self.check_alive("db") + self.check_alive() def stop(self): tdSql.close()