From 58478d572f8f118c5795c0047f0d1afcc3ed1591 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 16 Jun 2023 17:43:14 +0200 Subject: [PATCH] headless-browser: Bump test timeout from 5s to 15s We're seeing occasional timeouts on the very first test when running on CI. Let's try giving it more time to see if it goes away. :^) --- Userland/Utilities/headless-browser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Utilities/headless-browser.cpp b/Userland/Utilities/headless-browser.cpp index ee84cff6d8..ba4105f58a 100644 --- a/Userland/Utilities/headless-browser.cpp +++ b/Userland/Utilities/headless-browser.cpp @@ -180,7 +180,7 @@ enum class TestMode { Text, }; -static ErrorOr run_one_test(HeadlessWebContentView& view, StringView input_path, StringView expectation_path, TestMode mode, int timeout_in_milliseconds = 5000) +static ErrorOr run_one_test(HeadlessWebContentView& view, StringView input_path, StringView expectation_path, TestMode mode, int timeout_in_milliseconds = 15000) { Core::EventLoop loop; bool did_timeout = false;