Skip to content

Commit 6ed7706

Browse files
committed
fix: Fix the compatible_upgrade_large_initial test
Equivalent of #2363 for `assert_dhcp`.
1 parent 00646f0 commit 6ed7706

File tree

1 file changed

+5
-0
lines changed
  • neqo-transport/src/connection/tests

1 file changed

+5
-0
lines changed

neqo-transport/src/connection/tests/vn.rs

+5
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,11 @@ fn compatible_upgrade_large_initial() {
284284
assert_eq!(client.stats().dropped_rx, 1);
285285
assert!(matches!(server.stats().dropped_rx, 2 | 3));
286286
assert_dscp(&client.stats());
287+
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+
287292
assert_dscp(&server.stats());
288293
}
289294

0 commit comments

Comments
 (0)