diff --git a/crates/throttle/src/throttle.rs b/crates/throttle/src/throttle.rs index 3d6724be2..0f0adb86a 100644 --- a/crates/throttle/src/throttle.rs +++ b/crates/throttle/src/throttle.rs @@ -314,7 +314,7 @@ mod test { println!("max_rate: {max_rate:?}"); assert!( - diff < tolerance, + diff <= tolerance, "throttled after {throttled_iter} iterations for \ limit {limit}. diff={diff} is not within tolerance {tolerance}" );