# HG changeset patch # User Sergey Kandaurov # Date 1508537268 -10800 # Node ID a4a040b4e4dd34fbec42d4369a2d41165a9562a9 # Parent 5ceb07e2051575f4b8da3cd6da7aafdc504144e3 Tests: removed TODOs for fixes merged in 1.12.2. diff --git a/h2_request_body.t b/h2_request_body.t --- a/h2_request_body.t +++ b/h2_request_body.t @@ -443,9 +443,6 @@ is($frame->{headers}->{'x-body-file'}, u # ticket #1384, request body corruption in recv_buffer -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.13.6'); - $s = Test::Nginx::HTTP2->new(); $sid = $s->new_stream({ path => '/off/slow.html', body_more => 1 }); select undef, undef, undef, 0.1; @@ -464,8 +461,6 @@ select undef, undef, undef, 0.1; ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; isnt($frame->{headers}->{'x-body'}, 'xxxx', 'sync buffer'); -} - ############################################################################### sub read_body_file { diff --git a/stream_ssl_preread.t b/stream_ssl_preread.t --- a/stream_ssl_preread.t +++ b/stream_ssl_preread.t @@ -161,14 +161,11 @@ is(get_ssl('foo', 8082), $p3, 'preread o is(get_ssl('foo', 8083), undef, 'preread buffer full'); is(stream()->io('x' x 1000), "127.0.0.1:$p3", 'not a handshake'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.13.6'); +# ticket #1317 is(stream("127.0.0.1:$p4")->io('x' x 16), "127.0.0.1:$p3", 'pending buffers on next upstream'); -} - # no junk in variable due to short ClientHello length value is(get_short(), "127.0.0.1:$p3", 'short client hello');