We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
compatible_upgrade_large_initial
1 parent 00646f0 commit 37cdef0Copy full SHA for 37cdef0
neqo-transport/src/connection/tests/vn.rs
@@ -284,7 +284,10 @@ fn compatible_upgrade_large_initial() {
284
assert_eq!(client.stats().dropped_rx, 1);
285
assert!(matches!(server.stats().dropped_rx, 2 | 3));
286
assert_dscp(&client.stats());
287
- assert_dscp(&server.stats());
+ assert!(
288
+ server.stats().dscp_rx[IpTosDscp::Cs0] == server.stats().packets_rx
289
+ || server.stats().dscp_rx[IpTosDscp::Cs0] == server.stats().packets_rx + 1
290
+ );
291
}
292
293
/// A server that supports versions 1 and 2 might prefer version 1 and that's OK.
0 commit comments