# HG changeset patch # User Sergey Kandaurov # Date 1406224696 -14400 # Node ID d1c4b0d1548465661ce4ec271da0c5864b36eee8 # Parent cc4697d6bd16b099e1aed7295c3d88dc36edff21 Tests: fixed SPDY test for premature client connection close. Wait for the proper Stream-ID in response to reduce execution time. diff --git a/spdy.t b/spdy.t --- 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'); }