Mercurial > hg > nginx-tests
diff proxy_set_body.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 | f36c3532a117 |
children | 882267679006 |
line wrap: on
line diff
--- a/proxy_set_body.t +++ b/proxy_set_body.t @@ -35,21 +35,21 @@ 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:8080/body; + proxy_pass http://127.0.0.1:%%PORT_0%%/body; proxy_set_body "body"; } location /p1 { - proxy_pass http://127.0.0.1:8080/x1; + proxy_pass http://127.0.0.1:%%PORT_0%%/x1; proxy_set_body "body"; } location /p2 { - proxy_pass http://127.0.0.1:8080/body; + proxy_pass http://127.0.0.1:%%PORT_0%%/body; proxy_set_body "body two"; } @@ -60,7 +60,7 @@ http { location /body { add_header X-Body $request_body; - proxy_pass http://127.0.0.1:8080/empty; + proxy_pass http://127.0.0.1:%%PORT_0%%/empty; } location /empty {