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.
diff --git a/proxy_cache_use_stale.t b/proxy_cache_use_stale.t index 888e4f5..dd7c3d8 100644 --- a/proxy_cache_use_stale.t +++ b/proxy_cache_use_stale.t
@@ -150,7 +150,7 @@ 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');