From 3630dae0fbedc4a710fdceca8fc467c87fb411e4 Mon Sep 17 00:00:00 2001 From: kostas Date: Fri, 8 Nov 2024 16:04:11 +0200 Subject: [PATCH] fix(ci-sanitizers): disable search_family_test FtProfileInvalidQuery Signed-off-by: kostas --- src/server/search/search_family_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/search/search_family_test.cc b/src/server/search/search_family_test.cc index 7b11980357d0..2fd8406937ea 100644 --- a/src/server/search/search_family_test.cc +++ b/src/server/search/search_family_test.cc @@ -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"}); @@ -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"});