summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/memdev/random.go
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-03-18 17:41:06 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-18 17:42:29 -0700
commitc3cee7f5a433708a394cee4e89c223f80036f5d9 (patch)
tree8ec5afb315d9920fc1b59d1d972b96d8e8f93dc0 /pkg/sentry/devices/memdev/random.go
parenta0fed7ea459833c93980dd6937a140db9bdcee8c (diff)
Deflake third_party/gvisor/pkg/gate/gate_test
TestConcurrentAll executes 1000 goroutines which never sleep, so they are not preempted by Go's runtime. In Go 1.14, async preemption has been added, but the added runtime.Gosched() call will do nothing wrong in this case too. PiperOrigin-RevId: 301705712
Diffstat (limited to 'pkg/sentry/devices/memdev/random.go')
0 files changed, 0 insertions, 0 deletions