summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/truncate.cc
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-09-21 10:03:32 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-21 10:05:45 -0700
commit5ce58829515b7534a2a01210e1a18f1b200727e4 (patch)
tree3f1bb50bd7003efdc0a06b398f36f4a426f90768 /test/syscalls/linux/truncate.cc
parentca308747205020c957d7fea3929f6c26004a6dd3 (diff)
Fix flakes in UdpSocketTest
`recv` calls with MSG_DONTWAIT can fail with EAGAIN randomly in tests. Fix this by calling `select` on sockets with a timeout prior to attempting a `recv`. PiperOrigin-RevId: 332873735
Diffstat (limited to 'test/syscalls/linux/truncate.cc')
0 files changed, 0 insertions, 0 deletions