Skip to content

Commit 01b78b2

Browse files
authored
[NFC] Fix flakiness in test if run unsharded (#112439)
If we run all test in a single process, there is high probability that `99` is already claimed.
1 parent e12fbdf commit 01b78b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/tests/sanitizer_chained_origin_depot_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ TEST(SanitizerCommon, ChainedOriginDepotBasic) {
3131

3232
TEST(SanitizerCommon, ChainedOriginDepotAbsent) {
3333
u32 prev_id;
34-
EXPECT_EQ(0U, chainedOriginDepot.Get(99, &prev_id));
34+
EXPECT_EQ(0U, chainedOriginDepot.Get(123456, &prev_id));
3535
EXPECT_EQ(0U, prev_id);
3636
}
3737

0 commit comments

Comments
 (0)