# HG changeset patch # User Sergey Kandaurov # Date 1543836340 -10800 # Node ID 51656beb99961285c620eedcbcf232bad0bdcdfe # Parent 8c764fd93b5ea8c1935d447d661e5b5112615e88 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. diff --git a/proxy_cache_error.t b/proxy_cache_error.t --- 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