Mercurial > hg > nginx-tests
diff http_resolver_cname.t @ 1237:e4974af3fb12
Tests: adjusted udp ports to match allocated ports range.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 13 Sep 2017 19:04:25 +0300 |
parents | 882267679006 |
children |
line wrap: on
line diff
--- a/http_resolver_cname.t +++ b/http_resolver_cname.t @@ -41,14 +41,14 @@ http { server_name localhost; location /short { - resolver 127.0.0.1:%%PORT_8081_UDP%%; + resolver 127.0.0.1:%%PORT_8981_UDP%%; resolver_timeout 2s; proxy_pass http://$host:%%PORT_8080%%/t; } location /long { - resolver 127.0.0.1:%%PORT_8081_UDP%%; + resolver 127.0.0.1:%%PORT_8981_UDP%%; resolver_timeout 5s; proxy_pass http://$host:%%PORT_8080%%/t; @@ -60,12 +60,12 @@ http { EOF -$t->run_daemon(\&dns_daemon, port(8081), $t); +$t->run_daemon(\&dns_daemon, port(8981), $t); $t->write_file('t', ''); $t->run(); -$t->waitforfile($t->testdir . '/' . port(8081)); +$t->waitforfile($t->testdir . '/' . port(8981)); ###############################################################################