From 3a0b1a0c0ef3e3b25b9a5491a0f1c6dbc6552992 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Wed, 23 Nov 2022 11:22:24 +0100 Subject: [PATCH] try to remove the flakyness of the failing test --- index-scheduler/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index 90c1d56f5..fbab62307 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -2684,7 +2684,7 @@ mod tests { handle.advance_till([Start]); snapshot!(snapshot_index_scheduler(&index_scheduler), name: "after_failing_to_commit"); let failure_duration = before_failure.elapsed(); - assert!(failure_duration.as_millis() > 1000); + assert!(failure_duration.as_millis() >= 1000); handle.advance_till([ BatchCreated,