You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2024/07/17 22:12:49 UTC

svn commit: r1919335 - in /httpd/httpd/branches/2.4.x: ./ test/modules/http2/test_202_trailer.py test/modules/http2/test_203_rfc9113.py

Author: rjung
Date: Wed Jul 17 22:12:49 2024
New Revision: 1919335

URL: http://svn.apache.org/viewvc?rev=1919335&view=rev
Log:
Skip more h2 tests in prefork.
Backport of r1919334 from trunk.

Modified:
    httpd/httpd/branches/2.4.x/   (props changed)
    httpd/httpd/branches/2.4.x/test/modules/http2/test_202_trailer.py
    httpd/httpd/branches/2.4.x/test/modules/http2/test_203_rfc9113.py

Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
  Merged /httpd/httpd/trunk:r1919334

Modified: httpd/httpd/branches/2.4.x/test/modules/http2/test_202_trailer.py
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/test/modules/http2/test_202_trailer.py?rev=1919335&r1=1919334&r2=1919335&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/test/modules/http2/test_202_trailer.py (original)
+++ httpd/httpd/branches/2.4.x/test/modules/http2/test_202_trailer.py Wed Jul 17 22:12:49 2024
@@ -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')

Modified: httpd/httpd/branches/2.4.x/test/modules/http2/test_203_rfc9113.py
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/test/modules/http2/test_203_rfc9113.py?rev=1919335&r1=1919334&r2=1919335&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/test/modules/http2/test_203_rfc9113.py (original)
+++ httpd/httpd/branches/2.4.x/test/modules/http2/test_203_rfc9113.py Wed Jul 17 22:12:49 2024
@@ -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')