From 7c8f11e953d663b7c7af5ccaa7f8c051cab79849 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Fri, 10 Apr 2026 11:17:36 +0200 Subject: [PATCH] pytest: switch off h3 for pytest_07_22 Run test_07_22 only on http/1.1 and h2. For h3, we get unreliable tests results in CI due to (probably) nghttpx not always reporting the RESET from the backend and the test timing out. Closes #21286 --- tests/http/test_07_upload.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/http/test_07_upload.py b/tests/http/test_07_upload.py index d486e04cd5..49f5213aa1 100644 --- a/tests/http/test_07_upload.py +++ b/tests/http/test_07_upload.py @@ -215,10 +215,9 @@ class TestUpload: self.check_download(r, count, fdata, curl) # upload single large data to a URL that fails uploads, causing RESETs - # (We used to do this for 20 parallel transfers, but the triggered - # stream resets make nghttpx drop the connection after several, which - # then gives a non-deterministic number of completely failed transfers) - @pytest.mark.parametrize("proto", Env.http_mplx_protos()) + # We used to test h3 as well, but this is unreliable in CI with nghttpx + # not reporting a RESET sometimes. + @pytest.mark.parametrize("proto", Env.http_h1_h2_protos()) def test_07_22_upload_fail(self, env: Env, httpd, nghttpx, proto): fdata = os.path.join(env.gen_dir, 'data-10m') count = 1 -- 2.47.3