summaryrefslogtreecommitdiffhomepage
path: root/images/basic/hostoverlaytest/test_copy_up.c
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-09-25 16:26:17 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-25 16:28:00 -0700
commitd79cf4808dbb32948430e5a8136d3c4ccd1c8c16 (patch)
tree0e4f2517377217f31ded4f7d7d2f5952466296de /images/basic/hostoverlaytest/test_copy_up.c
parentf2b469916ee2fc802a72ff808a5c5735263fb7c7 (diff)
Disable flaky java11 tests.
Regarding ThreadCpuTimeArray.java: The test starts 10 threads, each of which does some computation, then blocks. When all threads are blocked, the test sleeps for 200ms, then checks that less than 100ns of CPU time in userspace elapse over the course of the sleep; AFAICT, the 100ns of slop is because a thread indicates that it's in the WAITING state before it actually blocks, and because signals can cause threads to be temporarily woken. gVisor's CPU clocks have a granularity of 10ms (the interval of Kernel.cpuClockTicker is //pkg/abi/linux.ClockTick), so a single tick pushes the test over the threshold. PiperOrigin-RevId: 333830287
Diffstat (limited to 'images/basic/hostoverlaytest/test_copy_up.c')
0 files changed, 0 insertions, 0 deletions