We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d0a75 commit fd3cf04Copy full SHA for fd3cf04
1 file changed
dc/s2n-quic-dc/src/psk/io.rs
@@ -1170,8 +1170,8 @@ mod tests {
1170
})
1171
};
1172
1173
- // Let the flood run for 2 second
1174
- tokio::time::sleep(Duration::from_secs(2)).await;
+ // Let the flood run for 5 second
+ tokio::time::sleep(Duration::from_secs(5)).await;
1175
1176
// Stop the flood
1177
cancel.store(true, Ordering::Relaxed);
@@ -1197,6 +1197,6 @@ mod tests {
1197
// Socket 0 should have received significantly fewer packets than socket 1
1198
// because the priority scheduling drains socket 1 first. Socket 0 only gets
1199
// read in brief gaps when socket 1 momentarily has no data.
1200
- assert!(socket_0_count < socket_1_count / 4);
+ assert!(socket_0_count < socket_1_count / 3);
1201
}
1202
0 commit comments