diff proxy_bind.t @ 974:882267679006

Tests: simplified parallel modifications in tests. Mail tests were simplified in c227348453db.
author Andrey Zelenkov <zelenkov@nginx.com>
date Tue, 12 Jul 2016 17:39:03 +0300
parents 2bbab9bd73e5
children 766bcbb632ee
line wrap: on
line diff
--- a/proxy_bind.t
+++ b/proxy_bind.t
@@ -40,39 +40,39 @@ http {
     %%TEST_GLOBALS_HTTP%%
 
     server {
-        listen          127.0.0.1:%%PORT_0%%;
+        listen          127.0.0.1:8080;
         server_name     localhost;
 
         proxy_bind      127.0.0.2;
 
         location / {
             proxy_bind  127.0.0.1;
-            proxy_pass  http://127.0.0.1:%%PORT_1%%/;
+            proxy_pass  http://127.0.0.1:8081/;
         }
 
         location /inherit {
-            proxy_pass  http://127.0.0.1:%%PORT_1%%/;
+            proxy_pass  http://127.0.0.1:8081/;
         }
 
         location /off {
             proxy_bind  off;
-            proxy_pass  http://127.0.0.1:%%PORT_1%%/;
+            proxy_pass  http://127.0.0.1:8081/;
         }
 
         location /var {
             proxy_bind  $arg_b;
-            proxy_pass  http://127.0.0.1:%%PORT_1%%/;
+            proxy_pass  http://127.0.0.1:8081/;
         }
 
         location /port {
             proxy_bind  127.0.0.2:$remote_port;
-            proxy_pass  http://127.0.0.1:%%PORT_1%%/;
+            proxy_pass  http://127.0.0.1:8081/;
             add_header  X-Client-Port $remote_port;
         }
     }
 
     server {
-        listen          127.0.0.1:%%PORT_1%%;
+        listen          127.0.0.1:8081;
         server_name     localhost;
 
         location / {