From 553c74b785a50f41822f2f0de40270a1fff174b8 Mon Sep 17 00:00:00 2001 From: Evan Brown Date: Wed, 18 Dec 2024 09:58:06 -0800 Subject: [PATCH] Skip the IterationOrderChangesOnRehash test case in ASan mode because it's flaky. PiperOrigin-RevId: 707584680 Change-Id: Ica5aa8856fd2ce09b6ffab922839cb4e3d611a08 --- absl/container/internal/raw_hash_set_test.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/absl/container/internal/raw_hash_set_test.cc b/absl/container/internal/raw_hash_set_test.cc index 07c2b7e8690..1d0af3f7df2 100644 --- a/absl/container/internal/raw_hash_set_test.cc +++ b/absl/container/internal/raw_hash_set_test.cc @@ -2478,6 +2478,10 @@ TYPED_TEST(SooTest, IterationOrderChangesByInstance) { } TYPED_TEST(SooTest, IterationOrderChangesOnRehash) { +#ifdef ABSL_HAVE_ADDRESS_SANITIZER + GTEST_SKIP() << "Hash quality is lower in asan mode, causing flakiness."; +#endif + // We test different sizes with many small numbers, because small table // resize has a different codepath. // Note: iteration order for size() <= 1 is always the same.