diff proxy_protocol_ipv6.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 9f5f604a840e
children 882267679006
line wrap: on
line diff
--- a/proxy_protocol_ipv6.t
+++ b/proxy_protocol_ipv6.t
@@ -37,7 +37,7 @@ http {
     %%TEST_GLOBALS_HTTP%%
 
     server {
-        listen       [::1]:8080 proxy_protocol;
+        listen       [::1]:%%PORT_0%% proxy_protocol;
         server_name  localhost;
 
         add_header X-IP $remote_addr;
@@ -54,8 +54,8 @@ http {
 
 stream {
     server {
-        listen      127.0.0.1:8080;
-        proxy_pass  [::1]:8080;
+        listen      127.0.0.1:%%PORT_0%%;
+        proxy_pass  [::1]:%%PORT_0%%;
 
         proxy_protocol on;
     }