Mercurial > hg > nginx-tests
comparison proxy_cache_lock_ssi.t @ 506:5baf4b01cae4
Tests: adjusted TODOs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 02 Dec 2014 20:34:59 +0300 |
parents | 318f305a2014 |
children | 714668aea2b0 |
comparison
equal
deleted
inserted
replaced
505:9592b440ab00 | 506:5baf4b01cae4 |
---|---|
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 http_end($s); | 101 http_end($s); |
102 | 102 |
103 TODO: { | 103 TODO: { |
104 local $TODO = 'not yet'; | 104 local $TODO = 'not yet' unless $t->has_version('1.7.8'); |
105 | 105 |
106 cmp_ok(time() - $start, '<=', 3, 'parallel execution after lock timeout'); | 106 cmp_ok(time() - $start, '<=', 3, 'parallel execution after lock timeout'); |
107 | 107 |
108 } | 108 } |
109 | 109 |