diff options
author | Zeling Feng <zeling@google.com> | 2021-02-17 22:05:05 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-17 22:07:06 -0800 |
commit | f4d694693c62378db4740d152ae3679b2954e282 (patch) | |
tree | b1c7b1edbcec34d72f9d6a4e7d0a679548ef94a2 /pkg/tcpip/socketops.go | |
parent | dea894238bf404523a6c78819e242e0fb727e225 (diff) |
Deflake tcp_network_unreachable test
Previously, we make two connect attempts. If the first attempt is still on
going when the second attempt is made, the test will fail. This change deflakes
the situation by not making the second attempt, instead, we poll for the first
attempt's completion and read the errno from SO_ERROR.
PiperOrigin-RevId: 358104769
Diffstat (limited to 'pkg/tcpip/socketops.go')
0 files changed, 0 insertions, 0 deletions