Mercurial > hg > nginx-tests
diff stream_proxy_bind.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 | 5f9dfe85a1f2 |
children | 882267679006 |
line wrap: on
line diff
--- a/stream_proxy_bind.t +++ b/stream_proxy_bind.t @@ -38,9 +38,9 @@ events { stream { server { - listen 127.0.0.1:8081; + listen 127.0.0.1:%%PORT_1%%; proxy_bind 127.0.0.2; - proxy_pass 127.0.0.1:8082; + proxy_pass 127.0.0.1:%%PORT_2%%; } } @@ -48,16 +48,16 @@ http { %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; location / { - proxy_pass http://127.0.0.1:8081; + proxy_pass http://127.0.0.1:%%PORT_1%%; } } server { - listen 127.0.0.1:8082; + listen 127.0.0.1:%%PORT_2%%; location / { add_header X-IP $remote_addr;