fix: add password length case

This commit is contained in:
Alex Duan 2024-12-25 14:13:34 +08:00
parent 5502324f6d
commit 6b8822999a
2 changed files with 5 additions and 10 deletions

View File

@ -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):

View File

@ -27,9 +27,6 @@ class TDTestCase(TBase):
case1<sdsang>: [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)