diff --git a/neqo-transport/src/connection/tests/vn.rs b/neqo-transport/src/connection/tests/vn.rs index 60fafd56aa..2c9d5a5a82 100644 --- a/neqo-transport/src/connection/tests/vn.rs +++ b/neqo-transport/src/connection/tests/vn.rs @@ -251,7 +251,7 @@ fn compatible_upgrade_large_initial() { assert_eq!(server.version(), Version::Version2); // Only handshake padding is "dropped". assert_eq!(client.stats().dropped_rx, 1); - assert_eq!(server.stats().dropped_rx, 2); + assert!(matches!(server.stats().dropped_rx, 1 | 2)); } /// A server that supports versions 1 and 2 might prefer version 1 and that's OK.