]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
pytest: relax error check on test_07_22
authorStefan Eissing <stefan@eissing.org>
Mon, 28 Jul 2025 08:03:49 +0000 (10:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Jul 2025 10:57:51 +0000 (12:57 +0200)
Add code 56 to the list of accepted errors, as it varies
with backend and speediness of test run.

Closes #18050

tests/http/test_07_upload.py

index ae6f0ab9ed3ccbe9ba3d80ceff1b87da1d8090f1..ae813003631facf18905232a312f72d180726aec 100644 (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'])