Mercurial > hg > nginx-tests
diff h2_ssl.t @ 1038:a034903de974
Tests: use port numbers from 8xxx pool.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 20 Sep 2016 13:08:53 +0300 |
parents | 45c80276d691 |
children | efccab043dd3 |
line wrap: on
line diff
--- a/h2_ssl.t +++ b/h2_ssl.t @@ -81,7 +81,7 @@ open OLDERR, ">&", \*STDERR; close STDER $t->run(); open STDERR, ">&", \*OLDERR; -plan(skip_all => 'no ALPN/NPN negotiation') unless defined getconn(port(0)); +plan(skip_all => 'no ALPN/NPN negotiation') unless defined getconn(port(8080)); $t->plan(1); ############################################################################### @@ -90,7 +90,7 @@ plan(skip_all => 'no ALPN/NPN negotiatio # while some unsent data was left in the SSL buffer # HEADERS frame may stuck in SSL buffer and won't be sent producing alert -my $s = getconn(port(0)); +my $s = getconn(port(8080)); ok($s, 'ssl connection'); my $sid = $s->new_stream({ path => '/tbig.html' });