Mercurial > hg > nginx-tests
diff fastcgi_keepalive.t @ 275:6cbcfb4ef7ee
Tests: correct has() checks for upstream keepalive tests.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 21 Mar 2013 22:00:45 +0400 |
parents | 36c75df75ca4 |
children | 94f8ee2f6688 |
line wrap: on
line diff
--- a/fastcgi_keepalive.t Thu Mar 21 21:23:53 2013 +0400 +++ b/fastcgi_keepalive.t Thu Mar 21 22:00:45 2013 +0400 @@ -21,7 +21,8 @@ select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->write_file_expand('nginx.conf', <<'EOF')->plan(6); +my $t = Test::Nginx->new()->has(qw/http fastcgi upstream_keepalive/)->plan(6) + ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%