diff options
Diffstat (limited to 'test/modules/http2/test_500_proxy.py')
-rw-r--r-- | test/modules/http2/test_500_proxy.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/modules/http2/test_500_proxy.py b/test/modules/http2/test_500_proxy.py index 6ab8275b11..306568e2d5 100644 --- a/test/modules/http2/test_500_proxy.py +++ b/test/modules/http2/test_500_proxy.py @@ -146,14 +146,16 @@ class TestProxy: # produce an error during response body def test_h2_500_31(self, env, repeat): - pytest.skip("needs fix in core protocol handling") + if env.httpd_is_at_least("2.5.0"): + pytest.skip("needs fix in core protocol handling") url = env.mkurl("https", "cgi", "/proxy/h2test/error?body_error=timeout") r = env.curl_get(url) assert r.exit_code != 0, r # produce an error, fail to generate an error bucket def test_h2_500_32(self, env, repeat): - pytest.skip("needs fix in core protocol handling") + if env.httpd_is_at_least("2.5.0"): + pytest.skip("needs fix in core protocol handling") url = env.mkurl("https", "cgi", "/proxy/h2test/error?body_error=timeout&error_bucket=0") r = env.curl_get(url) assert r.exit_code != 0, r |