Mercurial > hg > nginx-tests
changeset 941:ee4a4b42d65f
Tests: assorted fixes in previous change.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 06 Jun 2016 19:35:21 +0300 |
parents | 12e0fb96c2dd |
children | 8582afc64efa |
files | h2_limit_req.t |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/h2_limit_req.t Mon Jun 06 12:45:45 2016 +0300 +++ b/h2_limit_req.t Mon Jun 06 19:35:21 2016 +0300 @@ -24,7 +24,7 @@ select STDOUT; $| = 1; my $t = Test::Nginx->new()->has(qw/http http_v2 proxy rewrite limit_req/) - ->plan(6); + ->plan(7); $t->todo_alerts() unless $t->has_version('1.9.14'); @@ -172,7 +172,9 @@ abort => 1 }); select undef, undef, undef, 1.1; -undef $sess; +close $sess->{socket}; + +pass('discard body - limit req - eof'); }