Mercurial > hg > nginx-tests
comparison proxy_cache_use_stale.t @ 1535:144c6ce732e4
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 02 Dec 2019 14:56:37 +0300 |
parents | f5b18471e17a |
children | 17b227c271a2 |
comparison
equal
deleted
inserted
replaced
1534:96fb3513345b | 1535:144c6ce732e4 |
---|---|
195 like(http_get('/t5.html'), qr/REVALIDATED/, 's-w-r - foreground revalidated'); | 195 like(http_get('/t5.html'), qr/REVALIDATED/, 's-w-r - foreground revalidated'); |
196 | 196 |
197 # proxy_pass to regular expression with named and positional captures | 197 # proxy_pass to regular expression with named and positional captures |
198 | 198 |
199 like(http_get('/regexp.html'), qr/STALE/, 's-w-r - regexp background update'); | 199 like(http_get('/regexp.html'), qr/STALE/, 's-w-r - regexp background update'); |
200 | |
201 TODO: { | |
202 local $TODO = 'not yet' unless $t->has_version('1.15.8'); | |
203 | |
204 like(http_get('/regexp.html'), qr/HIT/, 's-w-r - regexp revalidated'); | 200 like(http_get('/regexp.html'), qr/HIT/, 's-w-r - regexp revalidated'); |
205 | |
206 } | |
207 | 201 |
208 # UPDATING while s-w-r | 202 # UPDATING while s-w-r |
209 | 203 |
210 $t->write_file('t6.html', 'SEE-THAT'); | 204 $t->write_file('t6.html', 'SEE-THAT'); |
211 | 205 |