Mercurial > hg > nginx-tests
diff image_filter_finalize.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 | f50ee6804216 |
children | 882267679006 |
line wrap: on
line diff
--- a/image_filter_finalize.t +++ b/image_filter_finalize.t @@ -43,22 +43,22 @@ http { access_log time.log time; upstream u { - server 127.0.0.1:8081; - server 127.0.0.1:8081; - server 127.0.0.1:8081; - server 127.0.0.1:8081; - server 127.0.0.1:8080; + server 127.0.0.1:%%PORT_1%%; + server 127.0.0.1:%%PORT_1%%; + server 127.0.0.1:%%PORT_1%%; + server 127.0.0.1:%%PORT_1%%; + server 127.0.0.1:%%PORT_0%%; } server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; # this used to cause a segmentation fault before 07f028df3879 (1.3.1) # http://nginx.org/pipermail/nginx/2011-January/024703.html location /t1 { - proxy_pass http://127.0.0.1:8080/bad; + proxy_pass http://127.0.0.1:%%PORT_0%%/bad; proxy_cache cache; proxy_cache_valid any 1h; @@ -78,7 +78,7 @@ http { # fixed in 07f028df3879 (1.3.1) location /t2 { - proxy_pass http://127.0.0.1:8080/big; + proxy_pass http://127.0.0.1:%%PORT_0%%/big; proxy_store on; image_filter_buffer 10m; @@ -111,7 +111,7 @@ http { } location /upstream { - proxy_pass http://127.0.0.1:8080/empty; + proxy_pass http://127.0.0.1:%%PORT_0%%/empty; } location /time.log { @@ -120,7 +120,7 @@ http { } server { - listen 127.0.0.1:8081; + listen 127.0.0.1:%%PORT_1%%; server_name localhost; return 444; }