comparison proxy_cache_lock.t @ 499:a3b03c333ad5

Tests: adjusted proxy cache lock TODO, improved its description.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 18 Nov 2014 20:48:43 +0300
parents 420fbf3555dd
children 071e8941e3bf
comparison
equal deleted inserted replaced
498:420fbf3555dd 499:a3b03c333ad5
104 for my $i (1 .. 3) { 104 for my $i (1 .. 3) {
105 like(http_end($sockets[$i]), qr/request $i/, 'lock timeout ' . $i); 105 like(http_end($sockets[$i]), qr/request $i/, 'lock timeout ' . $i);
106 } 106 }
107 107
108 TODO: { 108 TODO: {
109 local $TODO = 'not yet'; 109 local $TODO = 'behavior change' unless $t->has_version('1.7.8');
110 110
111 like(http_get('/timeout'), qr/request 1/, 'lock timeout - first only cached'); 111 like(http_get('/timeout'), qr/request 1/, 'lock timeout - first only cached');
112 112
113 } 113 }
114 114