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 bc8f8676cc
commit 187f1b57ce

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)