Skip to content

Commit

Permalink
tests: internal: event_loop: increase eplison on linux to account for…
Browse files Browse the repository at this point in the history
… 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]>
  • Loading branch information
pwhelan authored Dec 20, 2023
1 parent 1c79263 commit bcd3281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/internal/flb_event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcd3281

Please sign in to comment.