diff options
author | Rainer Jung <rjung@apache.org> | 2024-07-18 00:11:28 +0200 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2024-07-18 00:11:28 +0200 |
commit | 11c43c9a6dd9dc682296446cecd80d6588c2674b (patch) | |
tree | d5ce3e2932b5fc45962ed2e03f0aa6d649343e8d /test | |
parent | Skip h2 tests on prefork (diff) | |
download | apache2-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.py | 3 | ||||
-rw-r--r-- | test/modules/http2/test_203_rfc9113.py | 3 |
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') |