From 41903586fdcc004a38ad2b0cafcac520bfa4b8f7 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 18 Dec 2018 11:26:34 -0800 Subject: Deflake socket tests PiperOrigin-RevId: 226029237 Change-Id: I6fcdb241d635468beb6d6c173f2e7f96d715bf26 --- test/syscalls/linux/tcp_socket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/syscalls/linux/tcp_socket.cc b/test/syscalls/linux/tcp_socket.cc index e6fe84ded..64fdd068c 100644 --- a/test/syscalls/linux/tcp_socket.cc +++ b/test/syscalls/linux/tcp_socket.cc @@ -381,7 +381,7 @@ TEST_P(TcpSocketTest, PollWithFullBufferBlocks) { SyscallSucceeds()); // Create a large buffer that will be used for sending. - std::vector buf(5 * sendbuf_size_); + std::vector buf(10 * sendbuf_size_); // Write until we receive an error. while (RetryEINTR(send)(s_, buf.data(), buf.size(), 0) != -1) { -- cgit v1.2.3