From 935007937cee1e2867cc4fc5c00b7f370864e241 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Fri, 10 Apr 2020 07:13:16 -0700 Subject: 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 --- test/syscalls/linux/socket_test_util.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test/syscalls') 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(connected, accepted, bind_addr, -- cgit v1.2.3