pytest: relax error check on test_07_22

Add code 56 to the list of accepted errors, as it varies
with backend and speediness of test run.

Closes #18050
This commit is contained in:
Stefan Eissing 2025-07-28 10:03:49 +02:00 committed by Daniel Stenberg
parent 9a68a86ea3
commit 366c589c81
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -253,7 +253,7 @@ class TestUpload:
extra_args=['--parallel'])
# depending on timing and protocol, we might get CURLE_PARTIAL_FILE or
# CURLE_SEND_ERROR or CURLE_HTTP3 or CURLE_HTTP2_STREAM
r.check_stats(count=count, exitcode=[18, 55, 92, 95])
r.check_stats(count=count, exitcode=[18, 55, 56, 92, 95])
# PUT 100k
@pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3'])