Skip to content

Commit 5260fc6

Browse files
Add note to optimistic ack test
(No longer actually changed by previous commits, but seems worth the comment regardless to save future time).
1 parent 43722d2 commit 5260fc6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

quic/s2n-quic/src/tests/skip_packets.rs

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ fn optimistic_ack_mitigation() {
8888

8989
// Verify that both client and server are skipping packets for Optimistic
9090
// Ack attack mitigation.
91+
//
92+
// The exact number of skipped packets depends on randomness, so this test may be changed by
93+
// unrelated changes. The important thing is that both numbers are non-zero.
9194
assert_eq!(server_skip_count, 5);
9295
assert_eq!(client_skip_count, 5);
9396
}

0 commit comments

Comments
 (0)