summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/testutil/testutil.go
diff options
context:
space:
mode:
authorMithun Iyer <iyerm@google.com>2021-06-10 17:20:29 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-10 17:23:34 -0700
commit3c91fa42aeb3adaf86f0987b545be17125f208dc (patch)
tree3492091400461e9bbdc84350a18833f01dde7ae9 /pkg/sentry/fsimpl/testutil/testutil.go
parent3fcbad509300ac7249156d49d2ec20f30aa1a16d (diff)
Try to avoid accept, incoming ACK race
This test checks if an incoming ACK is dropped by the listener when the accept queue is full. The ACK receive handling could race with the test invoking accept on the DUT, causing the test to be flaky. Add a wait time before invoking accept on the DUT to give cycles for the incoming ACK to be handled/dropped by the listener. PiperOrigin-RevId: 378770225
Diffstat (limited to 'pkg/sentry/fsimpl/testutil/testutil.go')
0 files changed, 0 insertions, 0 deletions