Bump up acceptable sample count for flaky itimer test.

Running the test 1000x almost always produces 1+ test failures where
the sample count is slightly more than 60.

PiperOrigin-RevId: 305051754
This commit is contained in:
Dean Deng
2020-04-06 09:51:26 -07:00
committed by gVisor bot
parent 00d9776a4b
commit 4baa7e7079
+1 -1
View File
@@ -246,7 +246,7 @@ int TestSIGPROFFairness(absl::Duration sleep) {
// The number of samples on the main thread should be very low as it did
// nothing.
TEST_CHECK(result.main_thread_samples < 60);
TEST_CHECK(result.main_thread_samples < 80);
// Both workers should get roughly equal number of samples.
TEST_CHECK(result.worker_samples.size() == 2);