From: Stefan Eissing Date: Sat, 19 Jul 2025 11:37:54 +0000 (+0200) Subject: pytest: increase server KeepAliveTimeout X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53e5cdc47b0024e009ec70f9803e5053b84d87b2;p=thirdparty%2Fcurl.git pytest: increase server KeepAliveTimeout When CI is not able to give clients enough cpu, the default Apache KeepAliveTimeout of 5 seconds may trigger and cause tests to fail. Increase the timeout to 30 seconds for reliability. Ref: #17963 Closes #17968 --- diff --git a/tests/http/testenv/httpd.py b/tests/http/testenv/httpd.py index f9ab554cea..d9f535dd22 100644 --- a/tests/http/testenv/httpd.py +++ b/tests/http/testenv/httpd.py @@ -310,6 +310,7 @@ class Httpd: f'LogLevel {self._get_log_level()}', 'StartServers 4', 'ReadBufferSize 16000', + 'KeepAliveTimeout 30', # CI may exceed the default of 5 sec 'H2MinWorkers 16', 'H2MaxWorkers 256', f'TypesConfig "{self._conf_dir}/mime.types',