changeset 700:e28787665f99

Tests: reduced two extra HTTP/2 tests.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 18 Sep 2015 16:07:27 +0300
parents 5768830f01c4
children bae890b8828d
files h2.t
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/h2.t
+++ b/h2.t
@@ -32,7 +32,7 @@ plan(skip_all => 'IO::Socket::SSL too ol
 
 my $t = Test::Nginx->new()->has(qw/http http_ssl http_v2 proxy cache/)
 	->has(qw/limit_conn rewrite realip shmem/)
-	->has_daemon('openssl')->plan(196);
+	->has_daemon('openssl')->plan(194);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
@@ -547,10 +547,6 @@ ok($frame, 'invalid index - GOAWAY');
 is($frame->{last_sid}, $sid, 'invalid index - GOAWAY last stream');
 is($frame->{code}, 9, 'invalid index - GOAWAY COMPRESSION_ERROR');
 
-h2_ping($sess, 'SEE-THIS');
-is(@{h2_read($sess, all => [{ type => 'PING' }])}, 0, 'invalid index - PING');
-is($sess->{socket}->connected, undef, 'invalid index - connection close');
-
 # HEAD
 
 $sess = new_session();