diff proxy_xar.t @ 952:e9064d691790

Tests: converted tests to run in parallel.
author Andrey Zelenkov <zelenkov@nginx.com>
date Tue, 21 Jun 2016 16:39:13 +0300
parents 9239393e73c8
children 882267679006
line wrap: on
line diff
--- a/proxy_xar.t
+++ b/proxy_xar.t
@@ -36,7 +36,7 @@ http {
     %%TEST_GLOBALS_HTTP%%
 
     server {
-        listen       127.0.0.1:8080;
+        listen       127.0.0.1:%%PORT_0%%;
         server_name  localhost;
 
         # catch safe and unhandled unsafe URIs,
@@ -47,7 +47,7 @@ http {
         }
 
         location /proxy {
-            proxy_pass http://127.0.0.1:8080/return-xar;
+            proxy_pass http://127.0.0.1:%%PORT_0%%/return-xar;
         }
         location /return-xar {
             add_header  X-Accel-Redirect     $arg_xar;