diff spdy.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 42810c40ebb8
children 2cd00179f4b2
line wrap: on
line diff
--- a/spdy.t
+++ b/spdy.t
@@ -220,9 +220,6 @@ is($frame->{headers}->{':status'}, 206, 
 is($frame->{length}, 10, 'DATA length range');
 is($frame->{data}, '002XXXX000', 'DATA payload range');
 
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.7.4');
-
 # request header with multiple values
 
 $sess = new_session();
@@ -245,8 +242,6 @@ ok(grep ({ $_->{type} eq "SYN_REPLY" } @
 is($frame->{headers}->{'x-cookie'}, 'val1; val2',
 	'multiple request header values - proxied');
 
-}
-
 # response header with multiple values
 
 $sess = new_session();
@@ -259,9 +254,6 @@ is($frame->{headers}->{'set-cookie'}, "v
 
 # response header with multiple values - no empty values inside
 
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.7.8');
-
 $sess = new_session();
 $sid1 = spdy_stream($sess, { path => '/header/inside' });
 $frames = spdy_read($sess, all => [{ sid => $sid1, fin => 1 }]);
@@ -281,8 +273,6 @@ is($frame->{headers}->{'x-foo'}, "val1\0
 ($frame) = grep { $_->{type} eq "SYN_REPLY" } @$frames;
 is($frame->{headers}->{'x-foo'}, "val1\0val2", 'no empty header value last');
 
-}
-
 # $spdy
 
 $sess = new_session();
@@ -330,16 +320,10 @@ ok(!grep ({ $_->{type} eq "DATA" } @$fra
 # ensure that HEAD-like requests, i.e., without response body, do not lead to
 # client connection close due to cache filling up with upstream response body
 
-TODO: {
-local $TODO = 'premature client connection close'
-	unless $t->has_version('1.7.3');
-
 $sid2 = spdy_stream($sess, { path => '/' });
 $frames = spdy_read($sess, all => [{ sid => $sid2, fin => 1 }]);
 ok(grep ({ $_->{type} eq "SYN_REPLY" } @$frames), 'proxy cache headers only');
 
-}
-
 # HEAD on empty cache with proxy_buffering off
 
 $sess = new_session();