chore: skip AggregateWithLoadOptionHard on sanitizers (false positive) (#4013)

The test fails because of false positive so I disabled it.

Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
Kostas Kyrimis 2024-10-29 14:26:50 +02:00 committed by GitHub
parent 7737bb46f8
commit 566f246cee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"});
@ -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