mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user