Skip to content

Commit

Permalink
This happens now as well with this backport
Browse files Browse the repository at this point in the history
  • Loading branch information
rpluem committed Oct 30, 2023
1 parent dc6bfd4 commit efa3b01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/modules/http2/test_600_h2proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit efa3b01

Please sign in to comment.