diff proxy_next_upstream_tries.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/proxy_next_upstream_tries.t
+++ b/proxy_next_upstream_tries.t
@@ -68,7 +68,7 @@ http {
         }
 
         location /tries/resolver {
-            resolver 127.0.0.1:%%PORT_8082_UDP%%;
+            resolver 127.0.0.1:%%PORT_8982_UDP%%;
 
             proxy_pass http://$host:%%PORT_8081%%;
             proxy_next_upstream_tries 2;
@@ -90,7 +90,7 @@ http {
         }
 
         location /timeout/resolver {
-            resolver 127.0.0.1:%%PORT_8082_UDP%%;
+            resolver 127.0.0.1:%%PORT_8982_UDP%%;
 
             proxy_pass http://$host:%%PORT_8081%%/w2;
             proxy_next_upstream_timeout 3800ms;
@@ -110,11 +110,11 @@ http {
 EOF
 
 $t->run_daemon(\&http_daemon, port(8081));
-$t->run_daemon(\&dns_daemon, port(8082), $t);
+$t->run_daemon(\&dns_daemon, port(8982), $t);
 $t->run();
 
 $t->waitforsocket('127.0.0.1:' . port(8081));
-$t->waitforfile($t->testdir . '/' . port(8082));
+$t->waitforfile($t->testdir . '/' . port(8982));
 
 ###############################################################################