changeset 1210:3ca5b0081bc6

Tests: proxy_cache_use_stale.t adjusted. Extended stale-while-revalidate in a cached response to ensure it's not yet ceased when revalidating in the background.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 23 Aug 2017 13:48:32 +0300
parents 0d9df274e3a3
children 0c15ba7d19b3
files proxy_cache_use_stale.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_cache_use_stale.t
+++ b/proxy_cache_use_stale.t
@@ -150,7 +150,7 @@ get('/tt.html', 'max-age=1, stale-if-err
 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('/t6.html', 'max-age=1, stale-while-revalidate=2');
+get('/t6.html', 'max-age=1, stale-while-revalidate=4');
 get('/t7.html', 'max-age=1, stale-while-revalidate=10');
 http_get('/ssi.html');
 get('/updating/t.html', 'max-age=1');