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
This commit is contained in:
Yann Ylavic
2022-04-14 15:26:21 +00:00
parent 33e7deed8d
commit f3cbae102d

View 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()