]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
test/core: Allow for 12 simultaneous connections in test_core_002_01.
authorYann Ylavic <ylavic@apache.org>
Thu, 14 Apr 2022 15:26:21 +0000 (15:26 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 14 Apr 2022 15:26:21 +0000 (15:26 +0000)
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

test/modules/core/test_002_restarts.py

index 3b7f1e07ac6b570151ed3e8bc2b658ae9b4918f9..375c7ca8e3e9fa76e9b67de482da57f12a6d8436 100644 (file)
@@ -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()