Skip to content

Commit

Permalink
More time needed sometimes
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Snaps <[email protected]>
  • Loading branch information
alexsnaps committed Nov 27, 2024
1 parent 6fa31ac commit 4e2db75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion limitador/src/storage/redis/counters_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ mod tests {
.consume(1, |items| {

Check warning on line 569 in limitador/src/storage/redis/counters_cache.rs

View workflow job for this annotation

GitHub Actions / Rustfmt

Diff in /home/runner/work/limitador/limitador/limitador/src/storage/redis/counters_cache.rs
assert_eq!(items.len(), 1);
assert!(
SystemTime::now().duration_since(start).unwrap() < Duration::from_millis(5)
SystemTime::now().duration_since(start).unwrap() < Duration::from_millis(10)
);
async { Ok::<(), ()>(()) }
})
Expand Down

0 comments on commit 4e2db75

Please sign in to comment.