Mercurial > hg > nginx-tests
diff proxy_limit_rate.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 | a53c310c695d |
children | 882267679006 |
line wrap: on
line diff
--- a/proxy_limit_rate.t +++ b/proxy_limit_rate.t @@ -37,11 +37,11 @@ http { %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; location / { - proxy_pass http://127.0.0.1:8080/data; + proxy_pass http://127.0.0.1:%%PORT_0%%/data; proxy_limit_rate 12000; add_header X-Msec $msec; }