From bd4a8301c6454dab83e17af08c613a6a8e9308a3 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Wed, 17 Jan 2024 09:08:40 +0100 Subject: [PATCH] sync test_006 update from apache svn after proxy enable_reuse backport --- test/modules/http2/test_600_h2proxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/modules/http2/test_600_h2proxy.py b/test/modules/http2/test_600_h2proxy.py index 040aef65..18d5d1d4 100644 --- a/test/modules/http2/test_600_h2proxy.py +++ b/test/modules/http2/test_600_h2proxy.py @@ -78,8 +78,8 @@ def test_h2_600_04(self, env, enable_reuse): conf.install() assert env.apache_restart() == 0 url = env.mkurl("https", "cgi", f"/h2proxy/{env.http_port}/hello.py") - # httpd 2.5.0 disables reuse, not matter the config - if enable_reuse == "on" and not env.httpd_is_at_least("2.5.0"): + # httpd 2.4.59 disables reuse, not matter the config + if enable_reuse == "on" and not env.httpd_is_at_least("2.4.59"): # reuse is not guaranteed for each request, but we expect some # to do it and run on a h2 stream id > 1 reused = False @@ -132,7 +132,7 @@ def test_h2_600_05(self, env, enable_reuse): assert int(r.json[0]["port"]) == env.http_port assert r.response["status"] == 200 exp_port = env.http_port if enable_reuse == "on" \ - and not env.httpd_is_at_least("2.5.0")\ + and not env.httpd_is_at_least("2.4.59")\ else env.http_port2 assert int(r.json[1]["port"]) == exp_port