Mercurial > hg > nginx-tests
diff h2_proxy_ssl.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children | 8ef51dbb5d69 |
line wrap: on
line diff
--- a/h2_proxy_ssl.t +++ b/h2_proxy_ssl.t @@ -26,8 +26,6 @@ select STDOUT; $| = 1; my $t = Test::Nginx->new()->has(qw/http http_ssl http_v2 proxy/) ->has_daemon('openssl')->plan(1); -$t->todo_alerts() unless $t->has_version('1.9.14'); - $t->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -83,9 +81,6 @@ foreach my $name ('localhost') { # request body with an empty DATA frame proxied to ssl backend # "zero size buf in output" alerts seen -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.9.14'); - my $s = Test::Nginx::HTTP2->new(); my $sid = $s->new_stream({ path => '/proxy_ssl/', body_more => 1 }); $s->h2_body(''); @@ -94,6 +89,4 @@ my $frames = $s->read(all => [{ sid => $ my ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; is($frame->{headers}->{':status'}, 200, 'empty request body'); -} - ###############################################################################