diff slice.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 0c15ba7d19b3
children 97c8280de681
line wrap: on
line diff
--- a/slice.t
+++ b/slice.t
@@ -285,23 +285,12 @@ SKIP: {
 
 # slicing in named location
 
-my $s = http_get('/cache-redirect', start => 1);
-# loop protection used with limit_rate, exit loop if subrequest has lost range
-unless ($t->has_version('1.11.10')) {
-	select undef, undef, undef, 0.2;
-	$t->write_file('/cache-redirect', '');
-}
-$r = http_end($s);
-
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.11.10');
+$r = http_get('/cache-redirect');
 
 like($r, qr/ 200 .*^0123456789abcdef$/ms, 'in named location');
 is(scalar @{[ glob $t->testdir() . '/cach3/*' ]}, 8,
 	'in named location - cache entries');
 
-}
-
 ###############################################################################
 
 sub get {