Mercurial > hg > nginx-tests
diff proxy_cache_convert_head.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 | 5a0bba53854b |
children | 882267679006 |
line wrap: on
line diff
--- a/proxy_cache_convert_head.t +++ b/proxy_cache_convert_head.t @@ -39,7 +39,7 @@ http { keys_zone=NAME:1m; server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; proxy_cache NAME; @@ -51,22 +51,22 @@ http { add_header X-Cache-Status $upstream_cache_status; location / { - proxy_pass http://127.0.0.1:8081/t.html; + proxy_pass http://127.0.0.1:%%PORT_1%%/t.html; proxy_cache_convert_head off; location /inner { - proxy_pass http://127.0.0.1:8081/t.html; + proxy_pass http://127.0.0.1:%%PORT_1%%/t.html; proxy_cache_convert_head on; } } location /on { - proxy_pass http://127.0.0.1:8081/t.html; + proxy_pass http://127.0.0.1:%%PORT_1%%/t.html; proxy_cache_convert_head on; } } server { - listen 127.0.0.1:8081; + listen 127.0.0.1:%%PORT_1%%; server_name localhost; location / {