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
This commit is contained in:
Stefan Eissing 2026-04-10 11:17:36 +02:00 committed by Daniel Stenberg
parent 6e40c3ed48
commit 7c8f11e953
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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