提交 c8faf3f5 编写于 作者: D dapan1121

fix case issue

上级 7e1b2b7a
...@@ -244,6 +244,7 @@ class TDTestCase: ...@@ -244,6 +244,7 @@ class TDTestCase:
if user is None: if user is None:
user = self.root_user user = self.root_user
with taos_connect(user=user.name, passwd=user.passwd) as use: with taos_connect(user=user.name, passwd=user.passwd) as use:
time.sleep(2)
use.query("use db") use.query("use db")
use.query("show tables") use.query("show tables")
if check_priv == PRIVILEGES_ALL: if check_priv == PRIVILEGES_ALL:
...@@ -398,6 +399,7 @@ class TDTestCase: ...@@ -398,6 +399,7 @@ class TDTestCase:
tdLog.printNoPrefix("==========step 1.18: revoke all from all = nothing") tdLog.printNoPrefix("==========step 1.18: revoke all from all = nothing")
self.revoke_user(user=self.users[2], priv=PRIVILEGES_ALL) self.revoke_user(user=self.users[2], priv=PRIVILEGES_ALL)
time.sleep(3)
self.__user_check(user=self.users[2], check_priv=None) self.__user_check(user=self.users[2], check_priv=None)
def __grant_err(self): def __grant_err(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册