]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
tests: allow for alternate exit code by curl on HTTP/2 errors
authorStefan Eissing <icing@apache.org>
Thu, 1 Jun 2023 14:16:43 +0000 (14:16 +0000)
committerStefan Eissing <icing@apache.org>
Thu, 1 Jun 2023 14:16:43 +0000 (14:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1910170 13f79535-47bb-0310-9956-ffa450edef68

test/modules/http2/test_106_shutdown.py

index 4d0efaae7c4a2ca2c09871e0966af583170f41d6..83e143cef5811dea85a95d062c04e046000119d7 100644 (file)
@@ -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: