summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/rwmutex_test.go
diff options
context:
space:
mode:
authorMithun Iyer <iyerm@google.com>2021-03-14 22:28:10 -0700
committergVisor bot <gvisor-bot@google.com>2021-03-14 22:30:25 -0700
commitb9c2174b086ebeb102e87d44b7f4cc9daa7f0175 (patch)
tree44fe0fe56490ac8764420bbb4095c3be6b5da384 /pkg/sync/rwmutex_test.go
parentee6b22ca63361a61618b00723e8f557d33e72af4 (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/sync/rwmutex_test.go')
0 files changed, 0 insertions, 0 deletions