diff options
author | Fabricio Voznika <fvoznika@google.com> | 2021-03-08 11:16:09 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-08 11:18:09 -0800 |
commit | cabbbb373a62971684bf012a0c2164106395e051 (patch) | |
tree | 2d9f237549a57ac2ee2e8478d0e5cd2018958703 /test/syscalls/linux | |
parent | e668288fafe378ab4dc7fbb23ac933a15a2fff94 (diff) |
Fix SocketInetLoopbackTest flakiness
Remove part of test that was making it flaky. It runs for native only,
so not really important since it's not testing gVisor.
Before: http://sponge2/37557c41-298e-408d-9b54-50ba3d41e22f
After: http://sponge2/7bca72be-cb9b-42f8-8c54-af4956c39455
PiperOrigin-RevId: 361611512
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r-- | test/syscalls/linux/socket_inet_loopback.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/syscalls/linux/socket_inet_loopback.cc b/test/syscalls/linux/socket_inet_loopback.cc index 344a5a22c..54b45b075 100644 --- a/test/syscalls/linux/socket_inet_loopback.cc +++ b/test/syscalls/linux/socket_inet_loopback.cc @@ -705,12 +705,6 @@ TEST_P(SocketInetLoopbackTest, TCPFinWait2Test_NoRandomSave) { ds.reset(); - if (!IsRunningOnGvisor()) { - ASSERT_THAT( - bind(conn_fd2.get(), reinterpret_cast<sockaddr*>(&conn_bound_addr), - conn_addrlen), - SyscallSucceeds()); - } ASSERT_THAT(RetryEINTR(connect)(conn_fd2.get(), reinterpret_cast<sockaddr*>(&conn_addr), conn_addrlen), |