Mercurial > hg > nginx-tests
diff proxy_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 | 6c0a5903d0ae |
line wrap: on
line diff
--- a/proxy_keepalive.t +++ b/proxy_keepalive.t @@ -24,8 +24,8 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http proxy ssi rewrite/)->plan(50) - ->write_file_expand('nginx.conf', <<'EOF'); +my $t = Test::Nginx->new()->has(qw/http proxy upstream_keepalive ssi rewrite/) + ->plan(50)->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%