Skip to content

Commit e93b7c8

Browse files
committed
chore(s2n-quic-dc): increase the wait for async background handshake
1 parent c0df4e3 commit e93b7c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dc/s2n-quic-dc/src/stream/tests/restart.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ impl Harness {
9090
for sleep_before_shutdown in [false, true] {
9191
dbg!(bidirectional, sleep_before_shutdown);
9292
let task = self.run_one(bidirectional, sleep_before_shutdown);
93-
tokio::time::timeout(core::time::Duration::from_secs(60), task)
93+
tokio::time::timeout(core::time::Duration::from_secs(90), task)
9494
.await
95-
.expect("test timed out after 60 seconds");
95+
.expect("test timed out after 90 seconds");
9696
}
9797
}
9898
}
@@ -143,7 +143,7 @@ impl Harness {
143143
);
144144

145145
// Wait for the asynchronous background handshake.
146-
tokio::time::sleep(Duration::from_millis(50)).await;
146+
tokio::time::sleep(Duration::from_secs(2)).await;
147147

148148
check_stream(&context, bidirectional, sleep_before_shutdown)
149149
.instrument(info_span!("four"))

0 commit comments

Comments
 (0)