Skip to content

Commit

Permalink
CI: update allowed threshold for windows vm
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-Antoine Perennou <[email protected]>
  • Loading branch information
Keruspe committed Jul 4, 2020
1 parent 3134184 commit aa51715
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/compare_mozilla.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ fn test_does_not_have_many_roots_unknown_by_mozilla() {
}
}

#[cfg(windows)]
let threshold = 1.6; // no more than 160% extra roots; windows CI vm has lots of extra roots
#[cfg(not(windows))]
let threshold = 0.5; // no more than 50% extra roots
let diff = (missing_in_moz_roots as f64) / (mozilla.len() as f64);
println!("mozilla: {:?}", mozilla.len());
Expand Down

0 comments on commit aa51715

Please sign in to comment.