Skip to content

Commit

Permalink
chore: skip AggregateWithLoadOptionHard on sanitizers (false positive)
Browse files Browse the repository at this point in the history
Signed-off-by: kostas <kostas@dragonflydb.io>
  • Loading branch information
kostasrim committed Oct 29, 2024
1 parent 4b49518 commit 374afcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/search/search_family_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,8 @@ TEST_F(SearchFamilyTest, SearchWithLoadOptionHard) {
"j3", IsMap("b", "\"one\"", "$", R"({"a":"1","b":"one","third":"j3"})")));
}

// todo: ASAN fails heres on arm
#ifndef SANITIZERS
TEST_F(SearchFamilyTest, AggregateWithLoadOptionHard) {
// Test HASH
Run({"HSET", "h1", "word", "item1", "foo", "10", "text", "first key"});
Expand Down Expand Up @@ -1152,5 +1154,6 @@ TEST_F(SearchFamilyTest, AggregateWithLoadOptionHard) {
EXPECT_THAT(resp, IsUnordArrayWithSize(IsMap("foo_total", "20", "word", "\"item2\""),
IsMap("foo_total", "10", "word", "\"item1\"")));
}
#endif

} // namespace dfly

0 comments on commit 374afcb

Please sign in to comment.