changeset 1434:fc8341cf92a3

Tests: removed ngx_parse_inet6_url() "::" test from proxy.t. It results in WSAEADDRNOTAVAIL on win32, be the connection errors detected, which leads to connect() alert. On other systems, connect() is successful but it uses the default port (80), which is out of documented ports range.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 24 Jan 2019 17:05:04 +0300
parents 3e0dcf1e7752
children cace66c3ce56
files proxy.t
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/proxy.t
+++ b/proxy.t
@@ -23,7 +23,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(31);
+my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(30);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
@@ -111,7 +111,6 @@ unlike(http_head('/'), qr/SEE-THIS/, 'pr
 like(http_get('/var?b=127.0.0.1:' . port(8081) . '/'), qr/SEE-THIS/,
 	'proxy with variables');
 like(http_get('/var?b=u/'), qr/SEE-THIS/, 'proxy with variables to upstream');
-ok(http_get("/var?b=[::]"), 'proxy with variables - no ipv6 port');
 
 like(http_get('/timeout'), qr/200 OK/, 'proxy connect timeout');