From: Stefan Eissing Date: Thu, 1 Jun 2023 14:16:43 +0000 (+0000) Subject: tests: allow for alternate exit code by curl on HTTP/2 errors X-Git-Tag: 2.4.58-rc1-candidate~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad8be31703d9f58b64eab94ee0e6f4e8e9a9d206;p=thirdparty%2Fapache%2Fhttpd.git tests: allow for alternate exit code by curl on HTTP/2 errors git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1910170 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/modules/http2/test_106_shutdown.py b/test/modules/http2/test_106_shutdown.py index 4d0efaae7c4..83e143cef58 100644 --- a/test/modules/http2/test_106_shutdown.py +++ b/test/modules/http2/test_106_shutdown.py @@ -66,7 +66,7 @@ class TestShutdown: r = env.curl_get(url, options=['-v']) # requests should succeed, but rarely connections get closed # before the response is received - if r.exit_code == 55: + if r.exit_code in [16, 55]: # curl send error assert r.response is None else: