summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-04-10 07:13:16 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-10 07:14:35 -0700
commit935007937cee1e2867cc4fc5c00b7f370864e241 (patch)
treebf2e07e89ce9222c3791392ba6ffd8428f3d917b
parent78126611e61e26269d804dd18a5229820c4ddced (diff)
test: remove 1s delay after non-blocking socket pair accept
It was added in cl/201419897 to deflake socket_ip_tcp_loopback_non_blocking_test_gvisor. It seems we don't need this hack, because the origin issue isn't reproducible without this hack. PiperOrigin-RevId: 305871748
-rw-r--r--test/syscalls/linux/socket_test_util.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/syscalls/linux/socket_test_util.cc b/test/syscalls/linux/socket_test_util.cc
index 5d3a39868..53b678e94 100644
--- a/test/syscalls/linux/socket_test_util.cc
+++ b/test/syscalls/linux/socket_test_util.cc
@@ -364,11 +364,6 @@ CreateTCPConnectAcceptSocketPair(int bound, int connected, int type,
}
MaybeSave(); // Successful accept.
- // FIXME(b/110484944)
- if (connect_result == -1) {
- absl::SleepFor(absl::Seconds(1));
- }
-
T extra_addr = {};
LocalhostAddr(&extra_addr, dual_stack);
return absl::make_unique<AddrFDSocketPair>(connected, accepted, bind_addr,