Mercurial > hg > nginx-tests
diff sub_filter_multi.t @ 974:882267679006
Tests: simplified parallel modifications in tests.
Mail tests were simplified in c227348453db.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Tue, 12 Jul 2016 17:39:03 +0300 |
parents | e9064d691790 |
children | 196d33c2bb45 |
line wrap: on
line diff
--- a/sub_filter_multi.t Sun Jul 10 18:57:12 2016 +0300 +++ b/sub_filter_multi.t Tue Jul 12 17:39:03 2016 +0300 @@ -39,7 +39,7 @@ %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:%%PORT_0%%; + listen 127.0.0.1:8080; server_name localhost; sub_filter_types *; @@ -198,7 +198,7 @@ sub_filter_once off; sub_filter abpatternyz +; - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_buffering off; } @@ -207,7 +207,7 @@ sub_filter abpatternyz +; sub_filter abpaernyz -; - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_buffering off; } @@ -217,7 +217,7 @@ sub_filter abpaernyz -; sub_filter _ *; - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_buffering off; } @@ -225,7 +225,7 @@ sub_filter_once off; sub_filter patt +; - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_buffering off; } @@ -235,13 +235,13 @@ sub_filter abpa -; sub_filter tter *; - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_buffering off; } } server { - listen 127.0.0.1:%%PORT_1%%; + listen 127.0.0.1:8081; limit_rate 4; limit_rate_after 160;