We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 184971c commit c2ead44Copy full SHA for c2ead44
src/transport/webrtc/substream.rs
@@ -1294,9 +1294,9 @@ mod tests {
1294
assert!(matches!(*handle.state.lock(), State::FinSent));
1295
1296
// DON'T send FIN_ACK - let it timeout
1297
- // The shutdown should complete after FIN_ACK_TIMEOUT (2 seconds in tests)
+ // The shutdown should complete after FIN_ACK_TIMEOUT (5 seconds)
1298
// Add a bit of buffer to the timeout
1299
- let result = timeout(Duration::from_secs(4), shutdown_task).await;
+ let result = timeout(Duration::from_secs(7), shutdown_task).await;
1300
1301
assert!(result.is_ok(), "Shutdown should complete after timeout");
1302
assert!(
0 commit comments