diff --git a/tests/test_server.rs b/tests/test_server.rs index f22ae19..2038ceb 100644 --- a/tests/test_server.rs +++ b/tests/test_server.rs @@ -761,15 +761,15 @@ async fn test_frame_read_rate() -> std::io::Result<()> { sleep(Millis(100)).await; io.write(&buf[..10]).unwrap(); buf.split_to(10); - sleep(Millis(500)).await; + sleep(Millis(1000)).await; assert!(!check.load(Relaxed)); io.write(&buf[..12]).unwrap(); buf.split_to(12); - sleep(Millis(500)).await; + sleep(Millis(1000)).await; assert!(!check.load(Relaxed)); - sleep(Millis(1200)).await; + sleep(Millis(2100)).await; assert!(check.load(Relaxed)); Ok(())