summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/host/inode_test.go
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 /pkg/sentry/fs/host/inode_test.go
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 'pkg/sentry/fs/host/inode_test.go')
0 files changed, 0 insertions, 0 deletions