From 7efa74dc39471c811abc306ce95c5662d4fed024 Mon Sep 17 00:00:00 2001 From: cpwu Date: Fri, 13 May 2022 12:04:55 +0800 Subject: [PATCH] fix case --- tests/system-test/0-others/user_control.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-test/0-others/user_control.py b/tests/system-test/0-others/user_control.py index 3bb21ea96e..c3e5ad3191 100644 --- a/tests/system-test/0-others/user_control.py +++ b/tests/system-test/0-others/user_control.py @@ -289,7 +289,7 @@ class TDTestCase: tdDnodes.start(1) tdSql.query("show users") - tdSql.checkRows(self.users_count + 2) + tdSql.checkRows(self.users_count + 1) # 普通用户权限 # 密码登录 @@ -302,7 +302,7 @@ class TDTestCase: # 可以查看用户 tdLog.printNoPrefix("==========step6: normal user can show user") user.query("show users") - assert user.queryRows == self.users_count + 2 + assert user.queryRows == self.users_count + 1 # 不可以修改其他用户的密码 tdLog.printNoPrefix("==========step7: normal user can not alter other user pass") user.error(self.__alter_pass_sql(self.__user_list[1], self.__passwd_list[1] )) -- GitLab