test: restore to default user password

This commit is contained in:
Alex Duan 2025-03-13 16:49:38 +08:00
parent 88c562b3ba
commit 4078c58ee7
2 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
abcdefghigklmnopqrstuvwxyz@ABC1234567a
abcdefghigklmnopqrstuvwxyz@ABC1234567aaaaaaaaaaeeeeeeeeeeAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDEEEEEEEEEAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDEEEEEEEEEAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDEEEEEEEEEAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDAAAAEND

View File

@ -225,9 +225,10 @@ class TDTestCase(TBase):
sql = f"create user dkj pass '{pwd}' "
tdSql.execute(sql)
pwd = "taosdata"
cmds = [
f"-udkj -p{pwd} -D test -o {tmpdir}", # command pass
f"-udkj -p < {pwdFile} -D test -o {tmpdir}" # input pass
f"-uroot -p{pwd} -D test -o {tmpdir}", # command pass
f"-uroot -p < {pwdFile} -D test -o {tmpdir}" # input pass
]
for cmd in cmds: