Changeset 1038:a034903de974 in nginx-tests


Ignore:
Timestamp:
09/20/16 10:08:53 (4 years ago)
Author:
Sergey Kandaurov <pluknet@…>
Branch:
default
Phase:
public
Message:

Tests: use port numbers from 8xxx pool.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • h2_ssl.t

    r1033 r1038  
    8282open STDERR, ">&", \*OLDERR;
    8383
    84 plan(skip_all => 'no ALPN/NPN negotiation') unless defined getconn(port(0));
     84plan(skip_all => 'no ALPN/NPN negotiation') unless defined getconn(port(8080));
    8585$t->plan(1);
    8686
     
    9191# HEADERS frame may stuck in SSL buffer and won't be sent producing alert
    9292
    93 my $s = getconn(port(0));
     93my $s = getconn(port(8080));
    9494ok($s, 'ssl connection');
    9595
  • h2_ssl_proxy_cache.t

    r1033 r1038  
    9696open STDERR, ">&", \*OLDERR;
    9797
    98 plan(skip_all => 'no ALPN/NPN negotiation') unless defined getconn(port(0));
     98plan(skip_all => 'no ALPN/NPN negotiation') unless defined getconn(port(8080));
    9999$t->plan(1);
    100100
     
    103103# client cancels stream with a cacheable request sent to upstream causing alert
    104104
    105 my $s = getconn(port(0));
     105my $s = getconn(port(8080));
    106106ok($s, 'ssl connection');
    107107
     
    111111# large response may stuck in SSL buffer and won't be sent producing alert
    112112
    113 my $s2 = getconn(port(0));
     113my $s2 = getconn(port(8080));
    114114$sid = $s2->new_stream({ path => '/tbig.html' });
    115115$s2->h2_window(2**30, $sid);
Note: See TracChangeset for help on using the changeset viewer.