Mercurial > hg > nginx-tests
diff proxy_cache_use_stale.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | a3d23d16712d |
children | fc43a3555095 |
line wrap: on
line diff
--- a/proxy_cache_use_stale.t +++ b/proxy_cache_use_stale.t @@ -135,7 +135,7 @@ EOF $t->write_file('t9.html', 'SEE-THIS' x 1024); $t->write_file('ssi.html', 'xxx <!--#include virtual="/t9.html" --> xxx'); -$t->try_run('no proxy_cache_background_update')->plan(29); +$t->run()->plan(29); ############################################################################### @@ -234,14 +234,8 @@ like($r, qr/^xxx (SEE-THIS){1024} xxx$/m # this used to access a static file in the update request like(http_get('/t2.html?if=1'), qr/STALE/, 'background update in if'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.11.11'); - like(http_get('/t2.html?if=1'), qr/HIT/, 'background update in if - updated'); -} - ############################################################################### sub get {