Skip to content

Commit

Permalink
Skip the IterationOrderChangesOnRehash test case in ASan mode because…
Browse files Browse the repository at this point in the history
… it's flaky.

PiperOrigin-RevId: 707584680
Change-Id: Ica5aa8856fd2ce09b6ffab922839cb4e3d611a08
  • Loading branch information
ezbr authored and copybara-github committed Dec 18, 2024
1 parent f623b01 commit 553c74b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions absl/container/internal/raw_hash_set_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 553c74b

Please sign in to comment.