Mercurial > hg > nginx-tests
diff proxy_cache_use_stale.t @ 1230:a3d23d16712d
Tests: adjusted cache validity time in proxy_cache_use_stale.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 16 Oct 2017 17:29:23 +0300 |
parents | 3ca5b0081bc6 |
children | 766bcbb632ee |
line wrap: on
line diff
--- a/proxy_cache_use_stale.t +++ b/proxy_cache_use_stale.t @@ -146,10 +146,10 @@ like(get('/t2.html', 'max-age=1, stale-w 'stale-while-revalidate'); like(http_get('/t2.html'), qr/HIT/, 's-w-r - cached'); -get('/tt.html', 'max-age=1, stale-if-error=2'); +get('/tt.html', 'max-age=1, stale-if-error=3'); get('/t3.html', 'max-age=1, stale-while-revalidate=2'); -get('/t4.html', 'max-age=1, stale-while-revalidate=2'); -get('/t5.html', 'max-age=1, stale-while-revalidate=2'); +get('/t4.html', 'max-age=1, stale-while-revalidate=3'); +get('/t5.html', 'max-age=1, stale-while-revalidate=3'); get('/t6.html', 'max-age=1, stale-while-revalidate=4'); get('/t7.html', 'max-age=1, stale-while-revalidate=10'); http_get('/ssi.html');