test: modify 5dnode3mnodeStop2Follower.py

This commit is contained in:
chenhaoran 2023-09-06 11:28:19 +08:00
parent 24140902cf
commit bec4691324
1 changed files with 5 additions and 5 deletions

View File

@ -88,15 +88,15 @@ class TDTestCase:
# restart all taosd # restart all taosd
tdDnodes=cluster.dnodes tdDnodes=cluster.dnodes
tdDnodes[1].stoptaosd() # tdDnodes[1].stoptaosd()
tdDnodes[2].stoptaosd() tdDnodes[2].stoptaosd()
tdLog.info("check whether 2 mnode status is offline") tdLog.info("check whether 1 mnode status is offline")
clusterComCheck.check3mnode2off() clusterComCheck.check3mnodeoff(3)
# tdSql.error("create user user1 pass '123';") # tdSql.error("create user user1 pass '123';")
tdLog.info("start two follower") tdLog.info("start follower")
tdDnodes[1].starttaosd() # tdDnodes[1].starttaosd()
tdDnodes[2].starttaosd() tdDnodes[2].starttaosd()
clusterComCheck.checkMnodeStatus(mnodeNums) clusterComCheck.checkMnodeStatus(mnodeNums)