Skip more h2 tests in prefork

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919334 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rainer Jung
2024-07-17 22:11:28 +00:00
parent c8e629e485
commit 11c43c9a6d
2 changed files with 4 additions and 2 deletions

View 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')

View 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')