Mercurial > hg > nginx-tests
comparison proxy_cache_lock_ssi.t @ 568:907e89fba9c3
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sun, 03 May 2015 12:45:09 +0300 |
parents | 714668aea2b0 |
children | 2cd00179f4b2 |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
97 # but this is suboptimal behaviour | 97 # but this is suboptimal behaviour |
98 | 98 |
99 my $s = http_get('/locked', start => 1); | 99 my $s = http_get('/locked', start => 1); |
100 like(http_get('/ssi.html'), qr/end/, 'cache lock ssi'); | 100 like(http_get('/ssi.html'), qr/end/, 'cache lock ssi'); |
101 my ($start) = http_end($s) =~ /X-Msec: (\d+)/; | 101 my ($start) = http_end($s) =~ /X-Msec: (\d+)/; |
102 | |
103 TODO: { | |
104 local $TODO = 'not yet' unless $t->has_version('1.7.8'); | |
105 | |
106 cmp_ok(time() - $start, '<=', 3, 'parallel execution after lock timeout'); | 102 cmp_ok(time() - $start, '<=', 3, 'parallel execution after lock timeout'); |
107 | 103 |
108 } | |
109 | |
110 ############################################################################### | 104 ############################################################################### |