mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Increase SO_RCVTIMEO for RecvTimeoutWaitAll syscall test
The timeout is currently 200ms and causes occasionally flakes in Fuchsia infra (https://fxbug.dev/112974). Increase it to 1s. Fixes #8140 PiperOrigin-RevId: 486141423
This commit is contained in:
committed by
gVisor bot
parent
5a5a627a3c
commit
b9b96522ef
@@ -823,7 +823,7 @@ TEST_P(AllSocketPairTest, RecvTimeoutWaitAll) {
|
||||
auto sockets = ASSERT_NO_ERRNO_AND_VALUE(NewSocketPair());
|
||||
|
||||
struct timeval tv {
|
||||
.tv_sec = 0, .tv_usec = 200000 // 200ms
|
||||
.tv_sec = 1, .tv_usec = 0
|
||||
};
|
||||
EXPECT_THAT(setsockopt(sockets->second_fd(), SOL_SOCKET, SO_RCVTIMEO, &tv,
|
||||
sizeof(tv)),
|
||||
|
||||
Reference in New Issue
Block a user