diff --git a/src/wal/CMakeLists.txt b/src/wal/CMakeLists.txt index baed8d096081ae20b2cd06520b043275e476fb07..a9c20f643a18eefad94dfb245fcd9692048ee3bf 100644 --- a/src/wal/CMakeLists.txt +++ b/src/wal/CMakeLists.txt @@ -9,7 +9,7 @@ INCLUDE_DIRECTORIES(inc) AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/src SRC) ADD_LIBRARY(twal ${SRC}) -TARGET_LINK_LIBRARIES(twal common osdetail tutil) +TARGET_LINK_LIBRARIES(twal tutil common) ADD_SUBDIRECTORY(test) 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):