comparison proxy_upstream_cookie.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 907e89fba9c3
children 882267679006
comparison
equal deleted inserted replaced
951:9361c7eddfc1 952:e9064d691790
34 34
35 http { 35 http {
36 %%TEST_GLOBALS_HTTP%% 36 %%TEST_GLOBALS_HTTP%%
37 37
38 server { 38 server {
39 listen 127.0.0.1:8080; 39 listen 127.0.0.1:%%PORT_0%%;
40 server_name localhost; 40 server_name localhost;
41 41
42 location / { 42 location / {
43 add_header X-Upstream-Cookie $upstream_cookie_tc; 43 add_header X-Upstream-Cookie $upstream_cookie_tc;
44 proxy_pass http://127.0.0.1:8081; 44 proxy_pass http://127.0.0.1:%%PORT_1%%;
45 } 45 }
46 } 46 }
47 47
48 server { 48 server {
49 listen 127.0.0.1:8081; 49 listen 127.0.0.1:%%PORT_1%%;
50 server_name localhost; 50 server_name localhost;
51 51
52 location / { 52 location / {
53 add_header Set-Cookie $http_x_test_cookie; 53 add_header Set-Cookie $http_x_test_cookie;
54 return 204; 54 return 204;