From dc5e992d3344e741e346faa9f6e6b34fb01af8d8 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 17 Feb 2021 13:18:55 +0200 Subject: [PATCH] lib: test-cpu-limit - Increase ALLOW_MSECS_BELOW to 500ms The test still randomly failed with 100ms. Maybe 500ms is enough? --- src/lib/test-cpu-limit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/test-cpu-limit.c b/src/lib/test-cpu-limit.c index 9c8b3e48bd..aaf50c3868 100644 --- a/src/lib/test-cpu-limit.c +++ b/src/lib/test-cpu-limit.c @@ -11,7 +11,7 @@ /* The CPU limits aren't exact. Allow this much leniency in the time comparisons. */ -#define ALLOW_MSECS_BELOW 100 +#define ALLOW_MSECS_BELOW 500 #define ALLOW_MSECS_ABOVE 1500 static bool limit_exceeded1, limit_exceeded2; -- 2.47.3