# HG changeset patch # User Sergey Kandaurov # Date 1483531706 -10800 # Node ID d42cc683970d328019c7769fbc9cfe9603b22d1f # Parent 4b0b10e39a08f8ecb340db4cf4e9e2e546e91fef Tests: skip unsafe HTTP/2 tests. diff --git a/h2.t b/h2.t --- a/h2.t +++ b/h2.t @@ -769,6 +769,9 @@ is(@$frames[0]->{length}, 1, 'positive w # ask write handler in sending large response +SKIP: { +skip 'unsafe socket tests', 4 unless $ENV{TEST_NGINX_UNSAFE}; + $sid = $s->new_stream({ path => '/tbig.html' }); $s->h2_window(2**30, $sid); @@ -806,6 +809,8 @@ select undef, undef, undef, 2.1; $frames = $s->read(all => [{ type => 'PING' }]); ok(!grep ({ $_->{type} eq "PING" } @$frames), 'large response - send timeout'); +} + # stream with large response queued on write - RST_STREAM handling $s = Test::Nginx::HTTP2->new();