summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorRahat Mahmood <rahat@google.com>2019-06-06 14:30:50 -0700
committerShentubot <shentubot@google.com>2019-06-06 14:32:04 -0700
commit8b8bd8d5b28a8e41f59fc3465c38964986bfb084 (patch)
tree370b9ce27c40541bea7f33cd51a5e1e4c0ae8f4b /test
parent81eafb2c5e6242251618456f7e2a5657133a103c (diff)
Try increase listen backlog.
PiperOrigin-RevId: 251928000
Diffstat (limited to 'test')
-rw-r--r--test/syscalls/linux/socket_inet_loopback.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_inet_loopback.cc b/test/syscalls/linux/socket_inet_loopback.cc
index b216d14cb..9b3b70b01 100644
--- a/test/syscalls/linux/socket_inet_loopback.cc
+++ b/test/syscalls/linux/socket_inet_loopback.cc
@@ -198,7 +198,7 @@ TEST_P(SocketInetReusePortTest, TcpPortReuseMultiThread) {
ASSERT_THAT(
bind(fd, reinterpret_cast<sockaddr*>(&listen_addr), listener.addr_len),
SyscallSucceeds());
- ASSERT_THAT(listen(fd, 40), SyscallSucceeds());
+ ASSERT_THAT(listen(fd, 512), SyscallSucceeds());
// On the first bind we need to determine which port was bound.
if (i != 0) {