From 2bca9156d1e28926a4ecf1c484836c8e15da01af Mon Sep 17 00:00:00 2001 From: Jeff Lane Date: Mon, 11 Sep 2017 11:52:04 -0400 Subject: Clocktest direction test now only fails if 3 or more iterations fail, beause it's possible for one or more iterations to fail normally due to current CPU scheduling and load. LP: #1716422 --- src/clocktest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clocktest.c b/src/clocktest.c index 48ebd78..139056f 100644 --- a/src/clocktest.c +++ b/src/clocktest.c @@ -151,7 +151,7 @@ int test_clock_direction() } printf("clock direction test: sleeptime %u sec per iteration, failed iterations: %d\n", sleeptime, failures); - return (failures > 0); + return (failures > 2); } int main() -- cgit v1.2.3