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
+++ b/h2_limit_req.t
@@ -24,7 +24,7 @@ select STDERR; $| = 1;
 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 @@ todo_skip 'use-after-free', 1 unless $EN
 	abort => 1 });
 
 select undef, undef, undef, 1.1;
-undef $sess;
+close $sess->{socket};
+
+pass('discard body - limit req - eof');
 
 }