Skip to content

Commit

Permalink
[NFC] Fix flakiness in test if run unsharded (#112439)
Browse files Browse the repository at this point in the history
If we run all test in a single process, there is high
probability that `99` is already claimed.
  • Loading branch information
vitalybuka authored Oct 15, 2024
1 parent e12fbdf commit 01b78b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TEST(SanitizerCommon, ChainedOriginDepotBasic) {

TEST(SanitizerCommon, ChainedOriginDepotAbsent) {
u32 prev_id;
EXPECT_EQ(0U, chainedOriginDepot.Get(99, &prev_id));
EXPECT_EQ(0U, chainedOriginDepot.Get(123456, &prev_id));
EXPECT_EQ(0U, prev_id);
}

Expand Down

0 comments on commit 01b78b2

Please sign in to comment.