changeset 1107:d42cc683970d

Tests: skip unsafe HTTP/2 tests.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 04 Jan 2017 15:08:26 +0300
parents 4b0b10e39a08
children ff1a37f37419
files h2.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h2.t	Wed Jan 04 14:59:18 2017 +0300
+++ b/h2.t	Wed Jan 04 15:08:26 2017 +0300
@@ -769,6 +769,9 @@
 
 # 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 @@
 $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();