diff options
author | Nayana Bidari <nybidari@google.com> | 2021-04-19 14:41:44 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-19 14:44:05 -0700 |
commit | 8ad6657a22b0eaaef7d1b4a31553e826a87e9190 (patch) | |
tree | a4f3fa61a678bab6b8007af6be2321ad3a0e08dd /pkg/sentry/control | |
parent | b0333d33a206b3a3cf3bcc90e44793708ed5cb7a (diff) |
Fix TCP RACK flaky unit tests.
- Added delay to increase the RTT: In DSACK tests with RACK enabled and low
RTT, TLP can be detected before sending ACK and the tests flake. Increasing
the RTT will ensure that TLP does not happen before the ACK is sent.
- Fix TestRACKOnePacketTailLoss: The ACK does not contain DSACK, which means
either the original or retransmission (probe) was lost and SACKRecovery count
must be incremented.
Before: http://sponge2/c9bd51de-f72f-481c-a7f3-e782e7524883
After: http://sponge2/1307a796-103a-4a45-b699-e8d239220ed1
PiperOrigin-RevId: 369305720
Diffstat (limited to 'pkg/sentry/control')
0 files changed, 0 insertions, 0 deletions