# HG changeset patch # User Sergey Kandaurov # Date 1445981747 -10800 # Node ID c35b071d4b47495eb3fd468f563c0d9ee1285060 # Parent 97442d620e3eab41a41f8276f3a83bf4be510a42 Tests: skip h2.t tests no longer that dumped core, fixes committed. diff --git a/h2.t b/h2.t --- 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