1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00

Tests: Update FileWatcher's test timeouts

Increase the step timeouts on Linux from 50 to 75 milliseconds, since
we're seeing the occasional timeout on CI. For macOS, we should probably
be able to execute the tests a bit quicker than 500ms per step.
This commit is contained in:
Jelle Raaijmakers 2025-03-27 23:11:51 +00:00
parent 1229328adc
commit b688fe0396
Notes: github-actions[bot] 2025-03-28 19:20:40 +00:00

View file

@ -16,9 +16,9 @@
#include <unistd.h>
#ifdef AK_OS_MACOS
constexpr int TIMEOUT_PER_STEP_IN_MS = 500;
constexpr int TIMEOUT_PER_STEP_IN_MS = 350;
#else
constexpr int TIMEOUT_PER_STEP_IN_MS = 50;
constexpr int TIMEOUT_PER_STEP_IN_MS = 75;
#endif
TEST_CASE(file_watcher_child_events)