From cabbbb373a62971684bf012a0c2164106395e051 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Mon, 8 Mar 2021 11:16:09 -0800 Subject: 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 --- test/syscalls/linux/socket_inet_loopback.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test/syscalls/linux') 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(&conn_bound_addr), - conn_addrlen), - SyscallSucceeds()); - } ASSERT_THAT(RetryEINTR(connect)(conn_fd2.get(), reinterpret_cast(&conn_addr), conn_addrlen), -- cgit v1.2.3