# HG changeset patch # User Sergey Kandaurov # Date 1429702704 -10800 # Node ID 4cc65166509e61d4e8c924c7d5cc23db58afaa3e # Parent e47cd1b95997cf8884834d0eac2b4badf607b80f Tests: removed superfluous try_run() check. diff --git a/stream_proxy_next_upstream.t b/stream_proxy_next_upstream.t --- a/stream_proxy_next_upstream.t +++ b/stream_proxy_next_upstream.t @@ -24,7 +24,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/stream/); +my $t = Test::Nginx->new()->has(qw/stream/)->plan(3); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -67,9 +67,7 @@ stream { EOF $t->run_daemon(\&stream_daemon); -$t->try_run('no proxy_next_upstream')->plan(3); - -$t->waitforsocket('127.0.0.1:8089'); +$t->run()->waitforsocket('127.0.0.1:8089'); ###############################################################################