diff options
author | Zach Koopmans <zkoopmans@google.com> | 2020-09-21 10:03:32 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-21 10:05:45 -0700 |
commit | 5ce58829515b7534a2a01210e1a18f1b200727e4 (patch) | |
tree | 3f1bb50bd7003efdc0a06b398f36f4a426f90768 /pkg/sentry/syscalls/linux/flags.go | |
parent | ca308747205020c957d7fea3929f6c26004a6dd3 (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 'pkg/sentry/syscalls/linux/flags.go')
0 files changed, 0 insertions, 0 deletions