mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Deflake socket tests
PiperOrigin-RevId: 226029237 Change-Id: I6fcdb241d635468beb6d6c173f2e7f96d715bf26
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user