提交 f1991ac8 编写于 作者: B Benguang Zhao

enh: improve runOneLinux and TDTestCase of python test scripts

上级 4f37947e
......@@ -63,7 +63,7 @@ class TDCases:
tdLog.info("total %d Linux test case(s) executed" % (runNum))
def runOneLinux(self, conn, fileName, replicaVar):
def runOneLinux(self, conn, fileName, replicaVar=1):
testModule = self.__dynamicLoadModule(fileName)
runNum = 0
......
......@@ -166,7 +166,7 @@ class TDTestCase:
# keyDict['c'] = cfgPath
# keyDict['P'] = self.serverPort
tdDnodes=cluster.dnodes
for i in range(5):
for i in range(len(tdDnodes)):
tdDnodes[i].stoptaosd()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册