Mercurial > hg > nginx-tests
diff scgi_gzip.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 | d4a0232425ee |
children |
line wrap: on
line diff
--- a/scgi_gzip.t Sun Jul 10 18:57:12 2016 +0300 +++ b/scgi_gzip.t Tue Jul 12 17:39:03 2016 +0300 @@ -38,12 +38,12 @@ %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:%%PORT_0%%; + listen 127.0.0.1:8080; server_name localhost; location / { gzip on; - scgi_pass 127.0.0.1:%%PORT_1%%; + scgi_pass 127.0.0.1:8081; scgi_param SCGI 1; scgi_param REQUEST_URI $request_uri; scgi_param HTTP_X_BLAH "blah"; @@ -54,7 +54,7 @@ EOF $t->run_daemon(\&scgi_daemon); -$t->run()->waitforsocket('127.0.0.1:' . port(1)); +$t->run()->waitforsocket('127.0.0.1:' . port(8081)); ############################################################################### @@ -65,7 +65,7 @@ sub scgi_daemon { my $server = IO::Socket::INET->new( Proto => 'tcp', - LocalHost => '127.0.0.1:' . port(1), + LocalHost => '127.0.0.1:' . port(8081), Listen => 5, Reuse => 1 )