changeset 909:9045591d4304

Tests: fixed h2_limit_req.t test timeout. Delay sending request body, not after that, as otherwise it can timeout waiting for WINDOW_UPDATE.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 19 Apr 2016 19:20:29 +0300
parents adf5671391ac
children 49579dd88e3f
files h2_limit_req.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h2_limit_req.t
+++ b/h2_limit_req.t
@@ -86,8 +86,8 @@ local $TODO = 'not yet' unless $t->has_v
 
 $sess = new_session();
 $sid = new_stream($sess, { path => '/proxy_limit_req/', body_more => 1 });
+select undef, undef, undef, 1.1;
 h2_body($sess, 'TEST');
-select undef, undef, undef, 1.1;
 $frames = h2_read($sess, all => [{ sid => $sid, fin => 1 }]);
 
 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames;