Mercurial > hg > nginx-tests
diff proxy_variables.t @ 1535:144c6ce732e4
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 02 Dec 2019 14:56:37 +0300 |
parents | 16a8962ff246 |
children |
line wrap: on
line diff
--- a/proxy_variables.t +++ b/proxy_variables.t @@ -22,7 +22,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http proxy/) +my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(4) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -52,7 +52,7 @@ http { EOF $t->run_daemon(\&http_daemon, port(8081)); -$t->try_run('upstream_bytes_sent')->plan(4); +$t->run(); $t->waitforsocket('127.0.0.1:' . port(8081));