changeset 668:1f34870e9538

Tests: removed TODOs for now passing HTTP/2 RST_STREAM tests. This chases the latest HTTP/2 patch update with improved error handling.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Sep 2015 15:13:09 +0300
parents 0247e314e991
children 0c442e551ba1
files h2.t
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/h2.t
+++ b/h2.t
@@ -1373,14 +1373,9 @@ is($frame->{headers}->{':status'}, 200, 
 $sid2 = new_stream($sess, { path => '/t3.html' });
 $frames = h2_read($sess, all => [{ sid => $sid2, fin => 0 }]);
 
-TODO: {
-local $TODO = 'not yet';
-
 ($frame) = grep { $_->{type} eq "HEADERS" && $_->{sid} == $sid2 } @$frames;
 is($frame->{headers}->{':status'}, 200, 'RST_STREAM 2');
 
-}
-
 # http2_max_concurrent_streams
 
 $sess = new_session(8086);
@@ -1403,17 +1398,12 @@ is($frame->{headers}->{':status'}, 200, 
 ($frame) = grep { $_->{type} eq "HEADERS" && $_->{sid} == $sid2 } @$frames;
 isnt($frame->{headers}->{':status'}, 200, 'http2_max_concurrent_streams 2');
 
-TODO: {
-local $TODO = 'not yet';
-
 ($frame) = grep { $_->{type} eq "RST_STREAM" && $_->{sid} == $sid2 } @$frames;
 is($frame->{sid}, $sid2, 'http2_max_concurrent_streams RST_STREAM sid');
 is($frame->{length}, 4, 'http2_max_concurrent_streams RST_STREAM length');
 is($frame->{flags}, 0, 'http2_max_concurrent_streams RST_STREAM flags');
 is($frame->{code}, 7, 'http2_max_concurrent_streams RST_STREAM code');
 
-}
-
 h2_window($sess, 2**16, $sid);
 h2_read($sess, all => [{ sid => $sid, fin => 1 }]);