summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2024-07-18 00:11:28 +0200
committerRainer Jung <rjung@apache.org>2024-07-18 00:11:28 +0200
commit11c43c9a6dd9dc682296446cecd80d6588c2674b (patch)
treed5ce3e2932b5fc45962ed2e03f0aa6d649343e8d /test
parentSkip h2 tests on prefork (diff)
downloadapache2-11c43c9a6dd9dc682296446cecd80d6588c2674b.tar.xz
apache2-11c43c9a6dd9dc682296446cecd80d6588c2674b.zip
Skip more h2 tests in prefork
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919334 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/modules/http2/test_202_trailer.py3
-rw-r--r--test/modules/http2/test_203_rfc9113.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/modules/http2/test_202_trailer.py b/test/modules/http2/test_202_trailer.py
index 4b4fc42c78..6c4e05d3d9 100644
--- a/test/modules/http2/test_202_trailer.py
+++ b/test/modules/http2/test_202_trailer.py
@@ -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')
diff --git a/test/modules/http2/test_203_rfc9113.py b/test/modules/http2/test_203_rfc9113.py
index 1fe3e13159..143c0fc930 100644
--- a/test/modules/http2/test_203_rfc9113.py
+++ b/test/modules/http2/test_203_rfc9113.py
@@ -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')