diff --git a/tests/army/tools/benchmark/basic/exportCsv.py b/tests/army/tools/benchmark/basic/exportCsv.py index 1bce94853f..20c4f05235 100644 --- a/tests/army/tools/benchmark/basic/exportCsv.py +++ b/tests/army/tools/benchmark/basic/exportCsv.py @@ -36,10 +36,7 @@ class TDTestCase(TBase): def caseDescription(self): """ [TD-11510] taosBenchmark test cases - """ - - - + """ # check correct def checkCorrect(self, csvFile, allRows, interlaceRows): # open as csv @@ -110,7 +107,7 @@ class TDTestCase(TBase): benchmark = etool.benchMarkFile() # do check - json = "taosbenchmark/json/exportCsv.json" + json = "tools/benchmark/json/exportCsv.json" self.checkExportCsv(benchmark, json) def stop(self): diff --git a/tests/army/tools/taosdump/native/taosdumpDbWithNonRoot.py b/tests/army/tools/taosdump/native/taosdumpDbWithNonRoot.py index d9df2f6c23..0997d0ea49 100644 --- a/tests/army/tools/taosdump/native/taosdumpDbWithNonRoot.py +++ b/tests/army/tools/taosdump/native/taosdumpDbWithNonRoot.py @@ -27,9 +27,6 @@ class TDTestCase(TBase): case1: [TD-20506] taosdump dump db with non-root """ - - - def run(self): tdSql.prepare() @@ -77,9 +74,10 @@ class TDTestCase(TBase): os.system("rm -rf %s" % self.tmpdir) os.makedirs(self.tmpdir) - tdSql.execute("create user test pass '123456'") + pwd = "Taos@123456" + tdSql.execute(f"create user test pass '{pwd}'") - os.system("%s -utest -p123456 -D db -o %s -T 1" % (binPath, self.tmpdir)) + os.system(f"%s -utest -p{pwd} -D db -o %s -T 1" % (binPath, self.tmpdir)) tdSql.execute("drop database db") # sys.exit(1)