Mercurial > hg > nginx-tests
diff sub_filter_multi.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 | 2f1b10b3ff61 |
children | 882267679006 |
line wrap: on
line diff
--- a/sub_filter_multi.t +++ b/sub_filter_multi.t @@ -39,7 +39,7 @@ http { %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; sub_filter_types *; @@ -198,7 +198,7 @@ http { sub_filter_once off; sub_filter abpatternyz +; - proxy_pass http://127.0.0.1:8081/; + proxy_pass http://127.0.0.1:%%PORT_1%%/; proxy_buffering off; } @@ -207,7 +207,7 @@ http { sub_filter abpatternyz +; sub_filter abpaernyz -; - proxy_pass http://127.0.0.1:8081/; + proxy_pass http://127.0.0.1:%%PORT_1%%/; proxy_buffering off; } @@ -217,7 +217,7 @@ http { sub_filter abpaernyz -; sub_filter _ *; - proxy_pass http://127.0.0.1:8081/; + proxy_pass http://127.0.0.1:%%PORT_1%%/; proxy_buffering off; } @@ -225,7 +225,7 @@ http { sub_filter_once off; sub_filter patt +; - proxy_pass http://127.0.0.1:8081/; + proxy_pass http://127.0.0.1:%%PORT_1%%/; proxy_buffering off; } @@ -235,13 +235,13 @@ http { sub_filter abpa -; sub_filter tter *; - proxy_pass http://127.0.0.1:8081/; + proxy_pass http://127.0.0.1:%%PORT_1%%/; proxy_buffering off; } } server { - listen 127.0.0.1:8081; + listen 127.0.0.1:%%PORT_1%%; limit_rate 4; limit_rate_after 160;