From aa51715cc895057e6336d0f9ec7d93c7bb78eccb Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou Date: Sat, 4 Jul 2020 22:58:32 +0200 Subject: [PATCH] CI: update allowed threshold for windows vm Signed-off-by: Marc-Antoine Perennou --- tests/compare_mozilla.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/compare_mozilla.rs b/tests/compare_mozilla.rs index 5c69952..5cd14bb 100644 --- a/tests/compare_mozilla.rs +++ b/tests/compare_mozilla.rs @@ -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());