diff proxy_cache_error.t @ 1408:51656beb9996

Tests: adjusted proxy_cache_error.t read timeout. A previous limit could not be enough to get response header on slow hosts. It is encreased to still catch alerts on old versions before 93abb5a855d6.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 03 Dec 2018 14:25:40 +0300
parents 97c8280de681
children 4f238efded81
line wrap: on
line diff
--- a/proxy_cache_error.t
+++ b/proxy_cache_error.t
@@ -46,7 +46,7 @@ http {
             proxy_pass    http://127.0.0.1:8081;
             proxy_cache   NAME;
 
-            proxy_read_timeout 100ms;
+            proxy_read_timeout 500ms;
         }
     }
 
@@ -70,7 +70,7 @@ EOF
 
 ###############################################################################
 
-# make a HEAD request; as cache is enabled, nginx convert HEAD to GET
+# make a HEAD request; since cache is enabled, nginx converts HEAD to GET
 # and will set u->pipe->downstream_error to suppress sending the response
 # body to the client