Mercurial > hg > nginx-tests
diff stream_udp_proxy_requests.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 | 9242811bf22b |
children | f3ba4c74de31 |
line wrap: on
line diff
--- a/stream_udp_proxy_requests.t +++ b/stream_udp_proxy_requests.t @@ -23,7 +23,7 @@ use Test::Nginx::Stream qw/ dgram /; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/stream udp/) +my $t = Test::Nginx->new()->has(qw/stream udp/)->plan(26) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -87,7 +87,7 @@ EOF $t->run_daemon(\&udp_daemon, $t, port(8990)); $t->run_daemon(\&udp_daemon, $t, port(8991)); -$t->try_run('no proxy_requests')->plan(26); +$t->run(); $t->waitforfile($t->testdir . '/' . port(8990)); $t->waitforfile($t->testdir . '/' . port(8991));