Mercurial > hg > nginx-tests
changeset 940:12e0fb96c2dd
Tests: removed unwanted client read from h2_limit_req.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 06 Jun 2016 12:45:45 +0300 |
parents | cfddaf316233 |
children | ee4a4b42d65f |
files | h2_limit_req.t |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/h2_limit_req.t Fri Jun 03 14:31:52 2016 +0300 +++ b/h2_limit_req.t Mon Jun 06 12:45:45 2016 +0300 @@ -24,7 +24,7 @@ select STDOUT; $| = 1; my $t = Test::Nginx->new()->has(qw/http http_v2 proxy rewrite limit_req/) - ->plan(7); + ->plan(6); $t->todo_alerts() unless $t->has_version('1.9.14'); @@ -170,10 +170,6 @@ $sess = new_session(); $sid = new_stream($sess, { path => '/limit_req', body => 'TEST', split => [61], abort => 1 }); -$frames = h2_read($sess, all => [{ sid => $sid, fin => 1 }]); - -($frame) = grep { $_->{type} eq "HEADERS" } @$frames; -is($frame->{headers}->{':status'}, '200', 'discard body - limit req - eof'); select undef, undef, undef, 1.1; undef $sess;