@@ -323,8 +323,6 @@ TEST_F(SearchFamilyTest, Stats) {
323323 EXPECT_LE (metrics.search_stats .used_memory , 3 * expected_usage);
324324}
325325
326- // todo: ASAN fails heres on arm
327- #ifndef SANITIZERS
328326TEST_F (SearchFamilyTest, Simple) {
329327 Run ({" hset" , " d:1" , " foo" , " baz" , " k" , " v" });
330328 Run ({" hset" , " d:2" , " foo" , " bar" , " k" , " v" });
@@ -346,7 +344,6 @@ TEST_F(SearchFamilyTest, Simple) {
346344 Run ({" hset" , " w:2" , " foo" , " this" , " k" , " v" });
347345 EXPECT_THAT (Run ({" ft.search" , " i1" , " @foo:this" }), kNoResults );
348346}
349- #endif
350347
351348TEST_F (SearchFamilyTest, Errors) {
352349 Run ({" ft.create" , " i1" , " PREFIX" , " 1" , " d:" , " SCHEMA" , " foo" , " TAG" , " bar" , " TEXT" });
@@ -419,8 +416,6 @@ TEST_F(SearchFamilyTest, JsonIdentifierWithBrackets) {
419416 EXPECT_THAT (Run ({" ft.search" , " i1" , " (@continent:{Europe})" }), AreDocIds (" k1" , " k2" ));
420417}
421418
422- // todo: fails on arm build
423- #ifndef SANITIZERS
424419TEST_F (SearchFamilyTest, JsonArrayValues) {
425420 string_view D1 = R"(
426421{
@@ -495,7 +490,6 @@ TEST_F(SearchFamilyTest, JsonArrayValues) {
495490 res = Run ({" ft.search" , " i1" , " @name:alex" , " return" , " 1" , " ::??INVALID??::" , " as" , " retval" });
496491 EXPECT_THAT (res, IsMapWithSize (" k1" , IsMap ()));
497492}
498- #endif
499493
500494TEST_F (SearchFamilyTest, Tags) {
501495 Run ({" hset" , " d:1" , " color" , " red, green" });
@@ -963,7 +957,6 @@ TEST_F(SearchFamilyTest, FtProfile) {
963957 ASSERT_ARRAY_OF_TWO_ARRAYS (resp);
964958}
965959
966- #ifndef SANITIZERS
967960TEST_F (SearchFamilyTest, FtProfileInvalidQuery) {
968961 Run ({" json.set" , " j1" , " ." , R"( {"id":"1"})" });
969962 Run ({" ft.create" , " i1" , " on" , " json" , " schema" , " $.id" , " as" , " id" , " tag" });
@@ -976,7 +969,6 @@ TEST_F(SearchFamilyTest, FtProfileInvalidQuery) {
976969 resp = Run ({" ft.profile" , " i1" , " search" , " query" , " @{invalid13289}" });
977970 EXPECT_THAT (resp, ErrArg (" query syntax error" ));
978971}
979- #endif
980972
981973TEST_F (SearchFamilyTest, FtProfileErrorReply) {
982974 Run ({" ft.create" , " i1" , " schema" , " name" , " text" });
@@ -1286,8 +1278,6 @@ TEST_F(SearchFamilyTest, FlushSearchIndices) {
12861278 EXPECT_THAT (resp, ErrArg (" ERR Index already exists" ));
12871279}
12881280
1289- // todo: ASAN fails heres on arm
1290- #ifndef SANITIZERS
12911281TEST_F (SearchFamilyTest, AggregateWithLoadOptionHard) {
12921282 // Test HASH
12931283 Run ({" HSET" , " h1" , " word" , " item1" , " foo" , " 10" , " text" , " first key" });
@@ -1327,7 +1317,6 @@ TEST_F(SearchFamilyTest, AggregateWithLoadOptionHard) {
13271317 EXPECT_THAT (resp, IsUnordArrayWithSize (IsMap (" foo_total" , " 20" , " word" , " item2" ),
13281318 IsMap (" foo_total" , " 10" , " word" , " item1" )));
13291319}
1330- #endif
13311320
13321321TEST_F (SearchFamilyTest, WrongFieldTypeJson) {
13331322 // Test simple
0 commit comments