diff options
author | Mithun Iyer <iyerm@google.com> | 2021-02-10 14:20:18 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-10 14:22:16 -0800 |
commit | 380ede9b73822a7d373653f20b4f74ef1695ad24 (patch) | |
tree | 68494cfe429e8f7afbbbd0b60928cc1ccbb7bc23 /test/runner/gtest/gtest.go | |
parent | c2f204658ed4a6b0bd110577f22fbfd4104a6f96 (diff) |
Retry RST expectation in tcp_synrcvd_reset_test
Deflake this test by retransmitting the ACK and retrying RST
expectation after the supposed state transition to CLOSED.
This gives time for the state transition to complete.
Without such a retransmit from the test, the ACK could get silently
dropped by the listener when the passively connecting endpoint
has not yet completely updated the state (in gVisor this would be
endpoint state and decrement of synRcvdCount).
PiperOrigin-RevId: 356825562
Diffstat (limited to 'test/runner/gtest/gtest.go')
0 files changed, 0 insertions, 0 deletions