diff --git a/limitador/src/storage/redis/counters_cache.rs b/limitador/src/storage/redis/counters_cache.rs index 37653024..2645996d 100644 --- a/limitador/src/storage/redis/counters_cache.rs +++ b/limitador/src/storage/redis/counters_cache.rs @@ -569,7 +569,8 @@ mod tests { .consume(1, |items| { 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::<(), ()>(()) } })