Mercurial > hg > nginx-tests
changeset 443:d1c4b0d15484
Tests: fixed SPDY test for premature client connection close.
Wait for the proper Stream-ID in response to reduce execution time.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 24 Jul 2014 21:58:16 +0400 |
parents | cc4697d6bd16 |
children | d9cfff372a30 |
files | spdy.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/spdy.t +++ b/spdy.t @@ -305,7 +305,7 @@ local $TODO = 'premature client connecti unless $t->has_version('1.7.3'); $sid2 = spdy_stream($sess, { path => '/' }); -$frames = spdy_read($sess, all => [{ sid => $sid1, fin => 1 }]); +$frames = spdy_read($sess, all => [{ sid => $sid2, fin => 1 }]); ok(grep ({ $_->{type} eq "SYN_REPLY" } @$frames), 'proxy cache headers only'); }