diff options
author | Stefan Eissing <icing@apache.org> | 2023-05-02 12:37:13 +0200 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2023-05-02 12:37:13 +0200 |
commit | 67a0bc26e5253a1858a1b632fd0dbcd9c59d93ac (patch) | |
tree | 050e2eafff332c0b708a45716ee4a1714bfaa9c5 /test/modules | |
parent | test_h2_200_16, check that we have at least nghttp2 v1.45.0 (diff) | |
download | apache2-67a0bc26e5253a1858a1b632fd0dbcd9c59d93ac.tar.xz apache2-67a0bc26e5253a1858a1b632fd0dbcd9c59d93ac.zip |
test_h2_700_11, limit parallel connections, better error output
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909566 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/modules')
-rw-r--r-- | test/modules/http2/test_700_load_get.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/modules/http2/test_700_load_get.py b/test/modules/http2/test_700_load_get.py index 9ee8898dfd..78760fbf8c 100644 --- a/test/modules/http2/test_700_load_get.py +++ b/test/modules/http2/test_700_load_get.py @@ -16,14 +16,14 @@ class TestLoadGet: def check_h2load_ok(self, env, r, n): assert 0 == r.exit_code r = env.h2load_status(r) - assert n == r.results["h2load"]["requests"]["total"] - assert n == r.results["h2load"]["requests"]["started"] - assert n == r.results["h2load"]["requests"]["done"] - assert n == r.results["h2load"]["requests"]["succeeded"] - assert n == r.results["h2load"]["status"]["2xx"] - assert 0 == r.results["h2load"]["status"]["3xx"] - assert 0 == r.results["h2load"]["status"]["4xx"] - assert 0 == r.results["h2load"]["status"]["5xx"] + assert n == r.results["h2load"]["requests"]["total"], f'{r.results}' + assert n == r.results["h2load"]["requests"]["started"], f'{r.results}' + assert n == r.results["h2load"]["requests"]["done"], f'{r.results}' + assert n == r.results["h2load"]["requests"]["succeeded"], f'{r.results}' + assert n == r.results["h2load"]["status"]["2xx"], f'{r.results}' + assert 0 == r.results["h2load"]["status"]["3xx"], f'{r.results}' + assert 0 == r.results["h2load"]["status"]["4xx"], f'{r.results}' + assert 0 == r.results["h2load"]["status"]["5xx"], f'{r.results}' # test load on cgi script, single connection, different sizes @pytest.mark.parametrize("start", [ @@ -45,7 +45,7 @@ class TestLoadGet: # test load on cgi script, single connection @pytest.mark.parametrize("conns", [ - 1, 2, 16, 32 + 1, 2, 16 ]) def test_h2_700_11(self, env, conns): assert env.is_live() |