test: fix error comparison between bool and str

This commit is contained in:
chenhaoran 2023-09-07 19:08:12 +08:00
parent 712287f4f2
commit b3157b40b1
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ class ConfigureyCluster:
dnode.addExtraCfg("secondEp", f"{hostname}:{startPort_sec}")
# configure dnoe of independent mnodes
if num <= self.mnodeNums and self.mnodeNums != 0 and independentMnode == "True" :
tdLog.info("set mnode supportVnodes 0")
if num <= self.mnodeNums and self.mnodeNums != 0 and independentMnode == True :
tdLog.info(f"set mnode:{num} supportVnodes 0")
dnode.addExtraCfg("supportVnodes", 0)
# print(dnode)
self.dnodes.append(dnode)