diff --git a/tests/pytest/stable/query_after_reset.py b/tests/pytest/stable/query_after_reset.py index 0e34fade5fe6ea58dd642d8e18901880e6a6d5ef..b66fc2eff1e9269411168ecd38cf459eae16e6d5 100644 --- a/tests/pytest/stable/query_after_reset.py +++ b/tests/pytest/stable/query_after_reset.py @@ -76,7 +76,7 @@ class Test: tdSql.query("select * from st") except Exception as e: tdLog.info("Exception catched: %s" % repr(e)) - if ('mnode invalid table name' not in repr(e)): + if ('Table does not exist' not in repr(e)): raise Exception(repr(e)) def create_stable(self):