From b688fe0396a8ccd56a08a47ac0ec21dfd51102d3 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Thu, 27 Mar 2025 23:11:51 +0000 Subject: [PATCH] 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. --- Tests/LibCore/TestLibCoreFileWatcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/LibCore/TestLibCoreFileWatcher.cpp b/Tests/LibCore/TestLibCoreFileWatcher.cpp index 36a94584263..f011e6dee5e 100644 --- a/Tests/LibCore/TestLibCoreFileWatcher.cpp +++ b/Tests/LibCore/TestLibCoreFileWatcher.cpp @@ -16,9 +16,9 @@ #include #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)