test: add test case for grants

This commit is contained in:
kailixu 2024-02-18 00:39:47 +08:00
parent c976865d7b
commit 42e3654749
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ class TDTestCase:
if(len(result) > 0): if(len(result) > 0):
tdSql.checkEqual(True, result[0][0].find(",init,ungranted,ungranted") >= 16) tdSql.checkEqual(True, result[0][0].find(",init,ungranted,ungranted") >= 16)
tdSql.checkEqual(True, len(result[0][1]) == 0) tdSql.checkEqual(True, len(result[0][1]) == 0)
tdSql.checkEqual(True, len(result[0][2]) >= 48) tdSql.checkEqual(True, len(result[0][2]) >= 46)
tdSql.query(f'select * from information_schema.ins_machines') tdSql.query(f'select * from information_schema.ins_machines')
tdSql.checkRows(1) tdSql.checkRows(1)