try to remove the flakyness of the failing test

This commit is contained in:
Irevoire 2022-11-23 11:22:24 +01:00
parent af808462b6
commit 3a0b1a0c0e
No known key found for this signature in database
GPG Key ID: 7A6A970C96104F1B

View File

@ -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,