diff options
author | Mithun Iyer <iyerm@google.com> | 2021-03-14 22:28:10 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-14 22:30:25 -0700 |
commit | b9c2174b086ebeb102e87d44b7f4cc9daa7f0175 (patch) | |
tree | 44fe0fe56490ac8764420bbb4095c3be6b5da384 /pkg | |
parent | ee6b22ca63361a61618b00723e8f557d33e72af4 (diff) |
Fix race in tcp_retransmits_test
The test queries for RTO via TCP_INFO and applies that to the
rest of the test. The RTO is estimated by processing incoming ACK.
There is a race in the test where we may query for RTO before the
incoming ACK was processed. Fix the race in the test by letting the
DUT complete a payload receive, thus estimating RTO before proceeding
to query the RTO. Bump up the time correction to reduce flakes.
PiperOrigin-RevId: 362865904
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions