Skip to content

Commit

Permalink
increase write_after_peer_dropped_stream delay
Browse files Browse the repository at this point in the history
  • Loading branch information
jxs committed May 14, 2024
1 parent 6ac4911 commit b281a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/quic/tests/smoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ async fn write_after_peer_dropped_stream() {
.try_init();
let (stream_a, mut stream_b) = build_streams::<quic::async_std::Provider>().await;
drop(stream_a);
futures_timer::Delay::new(Duration::from_millis(1)).await;
futures_timer::Delay::new(Duration::from_millis(10)).await;

let data = vec![0; 10];
stream_b.write_all(&data).await.expect("Write failed.");
Expand Down

0 comments on commit b281a69

Please sign in to comment.