changeset 770:c35b071d4b47

Tests: skip h2.t tests no longer that dumped core, fixes committed.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 28 Oct 2015 00:35:47 +0300
parents 97442d620e3e
children abe795720deb
files h2.t
diffstat 1 files changed, 1 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/h2.t
+++ b/h2.t
@@ -2335,9 +2335,6 @@ is($sids, "$sid $sid2", 'dependency - HE
 
 # HEADERS - self dependency
 
-SKIP: {
-skip 'leaves coredump', 2 unless $ENV{TEST_NGINX_UNSAFE};
-
 $sess = new_session();
 $sid = new_stream($sess, { dep => 1 });
 $frames = h2_read($sess, all => [{ type => 'RST_STREAM' }]);
@@ -2346,8 +2343,6 @@ skip 'leaves coredump', 2 unless $ENV{TE
 is($frame->{sid}, $sid, 'dependency - HEADERS self - RST_STREAM');
 is($frame->{code}, 1, 'dependency - HEADERS self - PROTOCOL_ERROR');
 
-}
-
 # PRIORITY frame, weighted dependencies
 
 $sess = new_session();
@@ -2416,9 +2411,6 @@ is($sids, "$sid3 $sid2 $sid", 'weighted 
 # initial dependency tree:
 # 1 <- [3] <- 5
 
-SKIP: {
-skip 'leaves codedump', 3 unless $ENV{TEST_NGINX_UNSAFE};
-
 $sess = new_session();
 
 h2_window($sess, 2**18);
@@ -2468,14 +2460,9 @@ is($frame->{length}, 81, 'removed depend
 ($frame) = grep { $_->{type} eq "DATA" && $_->{sid} == $sid3 } @$frames;
 is($frame->{length}, 81, 'removed dependency - last stream');
 
-}
-
 # PRIORITY - reprioritization with circular dependency - exclusive [5]
 # 1 <- [5] <- 3
 
-SKIP: {
-skip 'leaves coredump', 3 unless $ENV{TEST_NGINX_UNSAFE};
-
 $sess = new_session();
 
 h2_window($sess, 2**18);
@@ -2519,8 +2506,6 @@ is($frame->{length}, 81, 'exclusive depe
 ($frame) = grep { $_->{type} eq "DATA" && $_->{sid} == $sid3 } @$frames;
 is($frame->{length}, 81, 'exclusive dependency - last stream');
 
-}
-
 # limit_conn
 
 $sess = new_session();
@@ -2776,8 +2761,7 @@ is($frame->{headers}->{':status'}, 400, 
 
 # aborted stream with zero HEADERS payload followed by client connection close
 
-new_stream(new_session(), { split => [ 9 ], abort => 1 })
-	if $ENV{TEST_NGINX_UNSAFE};
+new_stream(new_session(), { split => [ 9 ], abort => 1 });
 
 # unknown frame type