Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Jan 7, 2024
1 parent 2abc542 commit 49d45a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit 49d45a3

Please sign in to comment.