Skip to content

Commit

Permalink
[SOL] Adjust flaky CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Feb 19, 2024
1 parent 87d0b56 commit 933bd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/miri/tests/pass/float_nan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ use NaNKind::*;
#[track_caller]
fn check_all_outcomes<T: Eq + Hash + fmt::Display>(expected: HashSet<T>, generate: impl Fn() -> T) {
let mut seen = HashSet::new();
// Let's give it 8x as many tries as we are expecting values.
let tries = expected.len() * 8;
// Let's give it 16x as many tries as we are expecting values.
let tries = expected.len() * 16;
for _ in 0..tries {
let val = generate();
assert!(expected.contains(&val), "got an unexpected value: {val}");
Expand Down

0 comments on commit 933bd94

Please sign in to comment.