fix del_stable.py issue.

This commit is contained in:
Shuduo Sang 2020-06-16 17:23:53 +08:00
parent 71f82c80de
commit 30aa06ecca
3 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,7 @@ python3 ./test.py -f user/user_create.py
python3 ./test.py -f user/pass_len.py
# table
#python3 ./test.py -f table/del_stable.py
python3 ./test.py -f table/del_stable.py
#query
python3 ./test.py -f query/filter.py

View File

@ -127,7 +127,7 @@ python3 ./test.py -f user/user_create.py
python3 ./test.py -f user/pass_len.py
# table
# python3 ./test.py -f table/del_stable.py
python3 ./test.py -f table/del_stable.py
#query
python3 ./test.py -f query/filter.py

View File

@ -40,13 +40,13 @@ class TDTestCase:
try:
tdSql.execute("select * from db.st")
except Exception as e:
if e.args[0] != 'invalid table name':
if e.args[0] != 'mnode invalid table name':
tdLog.exit(e)
try:
tdSql.execute("select * from db.tb")
except Exception as e:
if e.args[0] != 'invalid table name':
if e.args[0] != 'mnode invalid table name':
tdLog.exit(e)
def stop(self):