diff --git a/tests/system-test/0-others/user_control.py b/tests/system-test/0-others/user_control.py index ae8656dbb8..5fda983bd3 100644 --- a/tests/system-test/0-others/user_control.py +++ b/tests/system-test/0-others/user_control.py @@ -167,6 +167,7 @@ class TDTestCase: def user_login(self, user, passwd): login_except = False + tdLog.printNoPrefix(login_except) try: with taos_connect(user=user, passwd=passwd) as conn: cursor = conn.cursor() @@ -174,6 +175,8 @@ class TDTestCase: login_except = True cursor = None + tdLog.printNoPrefix("end,", login_except) + # with taos_connect(user=user, passwd=passwd) as conn: # cursor = conn.cursor() # if not cursor: