Skip to content

Commit

Permalink
fix(ci-sanitizers): disable search_family_test FtProfileInvalidQuery
Browse files Browse the repository at this point in the history
Signed-off-by: kostas <kostas@dragonflydb.io>
  • Loading branch information
kostasrim committed Nov 8, 2024
1 parent 5838ed9 commit 3630dae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/search/search_family_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@ TEST_F(SearchFamilyTest, FtProfile) {
ASSERT_ARRAY_OF_TWO_ARRAYS(resp);
}

#ifndef SANITIZERS
TEST_F(SearchFamilyTest, FtProfileInvalidQuery) {
Run({"json.set", "j1", ".", R"({"id":"1"})"});
Run({"ft.create", "i1", "on", "json", "schema", "$.id", "as", "id", "tag"});
Expand All @@ -847,6 +848,7 @@ TEST_F(SearchFamilyTest, FtProfileInvalidQuery) {
resp = Run({"ft.profile", "i1", "search", "query", "@{invalid13289}"});
EXPECT_THAT(resp, ErrArg("query syntax error"));
}
#endif

TEST_F(SearchFamilyTest, FtProfileErrorReply) {
Run({"ft.create", "i1", "schema", "name", "text"});
Expand Down

0 comments on commit 3630dae

Please sign in to comment.