Skip to content

Commit bcd3281

Browse files
authored
tests: internal: event_loop: increase eplison on linux to account for noisy neighbours. (#8246)
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 <[email protected]>
1 parent 1c79263 commit bcd3281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/internal/flb_event_loop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#elif FLB_SYSTEM_MACOS
2424
#define TIME_EPSILON_MS 200
2525
#else
26-
#define TIME_EPSILON_MS 10
26+
#define TIME_EPSILON_MS 50
2727
#endif
2828

2929
#define TIMER_COARSE_EPSION_MS 300

0 commit comments

Comments
 (0)