add test cases for TD-29904

This commit is contained in:
Chris Zhai 2024-05-14 15:25:59 +08:00
parent c87ced12b6
commit 4c6be2464e
1 changed files with 7 additions and 1 deletions

View File

@ -125,10 +125,13 @@ class TDTestCase(TBase):
sqls = [ sqls = [
"show scores;", "show scores;",
"SHOW CLUSTER VARIABLES", "SHOW CLUSTER VARIABLES",
"SHOW BNODES;", # "SHOW BNODES;",
] ]
tdSql.executes(sqls) tdSql.executes(sqls)
# verification for TD-29904
tdSql.error("show tags from t100000", expectErrInfo='Fail to get table info, error: Table does not exist')
# run # run
def run(self): def run(self):
@ -143,6 +146,9 @@ class TDTestCase(TBase):
# do action # do action
self.doQuery() self.doQuery()
# check show
self.checkShow()
tdLog.success(f"{__file__} successfully executed") tdLog.success(f"{__file__} successfully executed")