Mercurial > hg > nginx-tests
diff proxy_upstream_cookie.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 | 907e89fba9c3 |
children | 882267679006 |
line wrap: on
line diff
--- a/proxy_upstream_cookie.t +++ b/proxy_upstream_cookie.t @@ -36,17 +36,17 @@ http { %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; location / { add_header X-Upstream-Cookie $upstream_cookie_tc; - proxy_pass http://127.0.0.1:8081; + proxy_pass http://127.0.0.1:%%PORT_1%%; } } server { - listen 127.0.0.1:8081; + listen 127.0.0.1:%%PORT_1%%; server_name localhost; location / {