mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
try to remove the flakyness of the failing test
This commit is contained in:
parent
af808462b6
commit
3a0b1a0c0e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user