Mercurial > hg > nginx-tests
diff stream_udp_upstream_least_conn.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children | 3fc6817cd84a |
line wrap: on
line diff
--- a/stream_udp_upstream_least_conn.t +++ b/stream_udp_upstream_least_conn.t @@ -24,7 +24,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; my $t = Test::Nginx->new()->has(qw/stream stream_upstream_least_conn udp/) - ->write_file_expand('nginx.conf', <<'EOF'); + ->plan(2)->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -53,7 +53,7 @@ EOF $t->run_daemon(\&udp_daemon, port(8081), $t); $t->run_daemon(\&udp_daemon, port(8082), $t); -$t->try_run('no stream udp')->plan(2); +$t->run(); $t->waitforfile($t->testdir . '/' . port(8081)); $t->waitforfile($t->testdir . '/' . port(8082));