diff --git a/source/libs/parser/test/parInitialATest.cpp b/source/libs/parser/test/parInitialATest.cpp index 577561dba2..e58f50f52a 100644 --- a/source/libs/parser/test/parInitialATest.cpp +++ b/source/libs/parser/test/parInitialATest.cpp @@ -56,7 +56,7 @@ TEST_F(ParserInitialATest, alterUser) { TEST_F(ParserInitialATest, bug001) { useDb("root", "test"); - run("alter database db wal 0 # td-14436"); + run("alter database db wal 0 # td-14436", TSDB_CODE_PAR_SYNTAX_ERROR); } } // namespace ParserTest \ No newline at end of file