Mercurial > hg > nginx-tests
diff body_chunked.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 | 44ce08f5259f |
line wrap: on
line diff
--- a/body_chunked.t Sun Jul 10 18:57:12 2016 +0300 +++ b/body_chunked.t Tue Jul 12 17:39:03 2016 +0300 @@ -37,12 +37,12 @@ %%TEST_GLOBALS_HTTP%% upstream u { - server 127.0.0.1:%%PORT_2%%; - server 127.0.0.1:%%PORT_0%% backup; + server 127.0.0.1:8082; + server 127.0.0.1:8080 backup; } server { - listen 127.0.0.1:%%PORT_0%%; + listen 127.0.0.1:8080; server_name localhost; client_header_buffer_size 1k; @@ -51,20 +51,20 @@ client_body_buffer_size 2k; add_header X-Body "$request_body"; add_header X-Body-File "$request_body_file"; - proxy_pass http://127.0.0.1:%%PORT_1%%; + proxy_pass http://127.0.0.1:8081; } location /b { client_body_buffer_size 2k; client_body_in_file_only on; add_header X-Body "$request_body"; add_header X-Body-File "$request_body_file"; - proxy_pass http://127.0.0.1:%%PORT_1%%; + proxy_pass http://127.0.0.1:8081; } location /single { client_body_in_single_buffer on; add_header X-Body "$request_body"; add_header X-Body-File "$request_body_file"; - proxy_pass http://127.0.0.1:%%PORT_1%%; + proxy_pass http://127.0.0.1:8081; } location /discard { return 200 "TEST\n"; @@ -75,7 +75,7 @@ } server { - listen 127.0.0.1:%%PORT_1%%; + listen 127.0.0.1:8081; server_name localhost; location / { @@ -84,7 +84,7 @@ } server { - listen 127.0.0.1:%%PORT_2%%; + listen 127.0.0.1:8082; server_name localhost; location / {