Mercurial > hg > nginx-tests
changeset 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 | 8c764fd93b5e |
children | 0bc5bd58d9de |
files | proxy_cache_error.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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