From: Yann Ylavic Date: Thu, 14 Apr 2022 15:26:21 +0000 (+0000) Subject: test/core: Allow for 12 simultaneous connections in test_core_002_01. X-Git-Tag: 2.5.0-alpha2-ci-test-only~392 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3cbae102d33834c4c0cb8d2cf7b7cd4a4c2e92d;p=thirdparty%2Fapache%2Fhttpd.git test/core: Allow for 12 simultaneous connections in test_core_002_01. It seems that h2load somehow issues more connections than the 6 requested (saw up to 12), so adapt the MPM event configuration accordingly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899862 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/modules/core/test_002_restarts.py b/test/modules/core/test_002_restarts.py index 3b7f1e07ac6..375c7ca8e3e 100644 --- a/test/modules/core/test_002_restarts.py +++ b/test/modules/core/test_002_restarts.py @@ -16,14 +16,16 @@ class TestRestarts: def _class_scope(self, env): conf = HttpdConf(env, extras={ 'base': f""" -StartServers 1 -ServerLimit 4 -ThreadLimit 2 -ThreadsPerChild 2 -MinSpareThreads 2 -MaxSpareThreads 4 -MaxRequestWorkers 8 -MaxConnectionsPerChild 0 +StartServers 1 +ServerLimit 3 +ThreadLimit 4 +ThreadsPerChild 4 +MinSpareThreads 4 +MaxSpareThreads 6 +MaxRequestWorkers 12 +MaxConnectionsPerChild 0 + +LogLevel mpm_event:trace6 """, }) conf.add_vhost_cgi()