Skip to content

Commit 553c74b

Browse files
ezbrcopybara-github
authored andcommitted
Skip the IterationOrderChangesOnRehash test case in ASan mode because it's flaky.
PiperOrigin-RevId: 707584680 Change-Id: Ica5aa8856fd2ce09b6ffab922839cb4e3d611a08
1 parent f623b01 commit 553c74b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

absl/container/internal/raw_hash_set_test.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2478,6 +2478,10 @@ TYPED_TEST(SooTest, IterationOrderChangesByInstance) {
24782478
}
24792479

24802480
TYPED_TEST(SooTest, IterationOrderChangesOnRehash) {
2481+
#ifdef ABSL_HAVE_ADDRESS_SANITIZER
2482+
GTEST_SKIP() << "Hash quality is lower in asan mode, causing flakiness.";
2483+
#endif
2484+
24812485
// We test different sizes with many small numbers, because small table
24822486
// resize has a different codepath.
24832487
// Note: iteration order for size() <= 1 is always the same.

0 commit comments

Comments
 (0)