Wait longer

This commit is contained in:
imbolc 2022-07-12 16:34:31 +03:00
parent 1aff20c3e5
commit 1b75f78726

View file

@ -578,8 +578,7 @@ mod tests {
assert_eq!(counter.load(Ordering::SeqCst), 1);
// Second attempt
pause_ms(backoff).await;
pause().await;
pause_ms(backoff + 1000).await;
assert_eq!(counter.load(Ordering::SeqCst), 2);
// No more attempts