Mercurial > hg > nginx-tests
diff h2_request_body.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 | b8948aecba12 |
children | 196d33c2bb45 |
line wrap: on
line diff
--- a/h2_request_body.t +++ b/h2_request_body.t @@ -40,8 +40,8 @@ http { %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:%%PORT_0%% http2; - listen 127.0.0.1:%%PORT_1%%; + listen 127.0.0.1:8080 http2; + listen 127.0.0.1:8081; server_name localhost; location / { @@ -51,14 +51,14 @@ http { add_header X-Body $request_body; add_header X-Body-File $request_body_file; client_body_in_file_only on; - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; } location /client_max_body_size { add_header X-Body $request_body; add_header X-Body-File $request_body_file; client_body_in_single_buffer on; client_body_in_file_only on; - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; client_max_body_size 10; } }