mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
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:
parent
6e40c3ed48
commit
7c8f11e953
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user