Deflake socket tests

PiperOrigin-RevId: 226029237
Change-Id: I6fcdb241d635468beb6d6c173f2e7f96d715bf26
This commit is contained in:
Googler
2018-12-18 11:27:36 -08:00
committed by Shentubot
parent 03226cd950
commit 41903586fd
+1 -1
View File
@@ -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) {