diff options
author | Googler <noreply@google.com> | 2018-12-18 11:26:34 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-18 11:27:36 -0800 |
commit | 41903586fdcc004a38ad2b0cafcac520bfa4b8f7 (patch) | |
tree | 01d0461bdf01e4dd5988ca1eb24ba02c36d99be3 | |
parent | 03226cd95055aee73d4e4dfcb4954490b4fd8a2d (diff) |
Deflake socket tests
PiperOrigin-RevId: 226029237
Change-Id: I6fcdb241d635468beb6d6c173f2e7f96d715bf26
-rw-r--r-- | test/syscalls/linux/tcp_socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<char> buf(5 * sendbuf_size_); + std::vector<char> buf(10 * sendbuf_size_); // Write until we receive an error. while (RetryEINTR(send)(s_, buf.data(), buf.size(), 0) != -1) { |