From 366c589c815fbb7f368ca7c042da0d4693dff6ae Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Mon, 28 Jul 2025 10:03:49 +0200 Subject: [PATCH] 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 --- tests/http/test_07_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/http/test_07_upload.py b/tests/http/test_07_upload.py index ae6f0ab9ed..ae81300363 100644 --- a/tests/http/test_07_upload.py +++ b/tests/http/test_07_upload.py @@ -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']) -- 2.47.2