Mercurial > hg > nginx-tests
diff h2_request_body.t @ 1693:5ac6efbe5552
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Jun 2021 16:40:18 +0300 |
parents | 36d69685605e |
children | 6842b0f7fb9e |
line wrap: on
line diff
--- a/h2_request_body.t Tue Jun 01 16:40:15 2021 +0300 +++ b/h2_request_body.t Tue Jun 01 16:40:18 2021 +0300 @@ -168,9 +168,6 @@ # request body discarded # RST_STREAM with zero code received -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.17.4'); - $s = Test::Nginx::HTTP2->new(); $sid = $s->new_stream({ body_more => 1 }); $frames = $s->read(all => [{ type => 'RST_STREAM' }], wait => 0.5); @@ -178,8 +175,6 @@ ($frame) = grep { $_->{type} eq "RST_STREAM" } @$frames; is($frame->{code}, 0, 'request body discarded - zero RST_STREAM'); -} - # malformed request body length not equal to content-length $s = Test::Nginx::HTTP2->new(); @@ -465,10 +460,6 @@ # request body after 400 errors redirected to a proxied location -TODO: { -todo_skip 'leaves coredump', 1 unless $ENV{TEST_NGINX_UNSAFE} - or $t->has_version('1.19.3'); - $s = Test::Nginx::HTTP2->new(); $sid = $s->new_stream({ body => "", headers => [ { name => ':method', value => "" }]}); @@ -477,8 +468,6 @@ ($frame) = grep { $_->{type} eq 'DATA' } @$frames; is($frame->{data}, 'SEE-THIS', 'request body after 400 redirect'); -} - ############################################################################### sub read_body_file {