]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Skip more h2 tests in prefork.
authorRainer Jung <rjung@apache.org>
Wed, 17 Jul 2024 22:12:49 +0000 (22:12 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 17 Jul 2024 22:12:49 +0000 (22:12 +0000)
Backport of r1919334 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919335 13f79535-47bb-0310-9956-ffa450edef68

test/modules/http2/test_202_trailer.py
test/modules/http2/test_203_rfc9113.py

index 4b4fc42c788a76b01c3b537d52b68b6a7423d586..6c4e05d3d99b189580e24e331b33305fcd5e1925 100644 (file)
@@ -1,7 +1,7 @@
 import os
 import pytest
 
-from .env import H2Conf
+from .env import H2Conf, H2TestEnv
 
 
 def setup_data(env):
@@ -13,6 +13,7 @@ def setup_data(env):
 
 # The trailer tests depend on "nghttp" as no other client seems to be able to send those
 # rare things.
+@pytest.mark.skipif(condition=H2TestEnv.is_unsupported, reason="mod_http2 not supported here")
 class TestTrailers:
 
     @pytest.fixture(autouse=True, scope='class')
index 1fe3e131595a95e285263a4174ce382fa5527f21..143c0fc930df881063c97af99d3613c7f410b392 100644 (file)
@@ -2,9 +2,10 @@ import pytest
 from typing import List, Optional
 
 from pyhttpd.env import HttpdTestEnv
-from .env import H2Conf
+from .env import H2Conf, H2TestEnv
 
 
+@pytest.mark.skipif(condition=H2TestEnv.is_unsupported, reason="mod_http2 not supported here")
 class TestRfc9113:
 
     @pytest.fixture(autouse=True, scope='class')