summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/sessions.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2019-09-05 16:36:27 -0700
committergVisor bot <gvisor-bot@google.com>2019-09-05 16:40:46 -0700
commiteb074a61f22fb488b8518c8b6a0f4d9325758203 (patch)
tree4ed5855485ceaffd8e4e05df9f0ea57a4d50b004 /pkg/sentry/kernel/sessions.go
parentfbdd3ff1da122c1197d2018268b5956a526363d3 (diff)
Fix bug in proc_test.
TestNoDuplicates is racy as it tries to read the /proc file system while the test is running. But it's possible that from the time a directory entries are read and each entry processed something could change and in some cases the entry being processed could have been deleted. In such cases we should not fail the test but just ignore the error and move on. PiperOrigin-RevId: 267483094
Diffstat (limited to 'pkg/sentry/kernel/sessions.go')
0 files changed, 0 insertions, 0 deletions