Mercurial > hg > ngx_http_upstream_keepalive
diff t/fastcgi-keepalive.t @ 20:8d8eaaf07663
Keepalive: tests cleanup.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 10 Sep 2010 13:39:15 +0400 |
parents | 28f882414188 |
children | e10649a96f39 |
line wrap: on
line diff
--- a/t/fastcgi-keepalive.t +++ b/t/fastcgi-keepalive.t @@ -20,19 +20,16 @@ select STDOUT; $| = 1; my $t = Test::Nginx->new()->plan(6) ->write_file_expand('nginx.conf', <<'EOF'); +%%TEST_GLOBALS%% + master_process off; daemon off; events { - worker_connections 1024; } http { - access_log off; - - client_body_temp_path %%TESTDIR%%/client_body_temp; - fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; - proxy_temp_path %%TESTDIR%%/proxy_temp; + %%TEST_GLOBALS_HTTP%% upstream backend { server 127.0.0.1:8081; @@ -40,7 +37,7 @@ http { } server { - listen localhost:8080; + listen 127.0.0.1:8080; server_name localhost; location / {