From 4597b42b09122641105be1052c5e892f19afdc98 Mon Sep 17 00:00:00 2001 From: Phillip Whelan Date: Mon, 4 Dec 2023 18:00:20 -0300 Subject: [PATCH] tests: event_loop: increase eplison on linux to account for noisy neighbours. Increase the epsilon for timed tests on linux to account for noisy neighbours and other factors when running tests. Without this increase the event_loop tests is prone to random failures, especially when the same machine is being used for other tasks. Signed-off-by: Phillip Whelan --- tests/internal/flb_event_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/internal/flb_event_loop.c b/tests/internal/flb_event_loop.c index 669475d714b..faab66e354b 100644 --- a/tests/internal/flb_event_loop.c +++ b/tests/internal/flb_event_loop.c @@ -23,7 +23,7 @@ #elif FLB_SYSTEM_MACOS #define TIME_EPSILON_MS 200 #else - #define TIME_EPSILON_MS 10 + #define TIME_EPSILON_MS 50 #endif #define TIMER_COARSE_EPSION_MS 300