From f31251b6451c6f5da78457273ff9307c2be0ecb7 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 19 Aug 2026 09:27:38 -0700 Subject: [PATCH] test_07_upload: skip tests if nghttpx lacks QUIC If nghttpx is available but lacks QUIC support, disable the tests that depend on that support. Co-authored-by: Stefan Eissing Fixes #22609 Closes #22624 --- tests/http/test_07_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/http/test_07_upload.py b/tests/http/test_07_upload.py index 7ad396d73c..4c2ecfe601 100644 --- a/tests/http/test_07_upload.py +++ b/tests/http/test_07_upload.py @@ -654,7 +654,7 @@ class TestUpload: r.check_exit_code(0) # nghttpx is the only server we have that supports TLS early data - @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx") + @pytest.mark.skipif(condition=not Env.have_h3_server(), reason="no QUIC in nghttpx") @pytest.mark.parametrize("proto,upload_size", [ pytest.param('http/1.1', 100, id='h1-small-body'), pytest.param('http/1.1', 10 * 1024, id='h1-medium-body'),