comparison stream_upstream_random.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 76090a5da00b
children f3ba4c74de31
comparison
equal deleted inserted replaced
1534:96fb3513345b 1535:144c6ce732e4
21 21
22 select STDERR; $| = 1; 22 select STDERR; $| = 1;
23 select STDOUT; $| = 1; 23 select STDOUT; $| = 1;
24 24
25 my $t = Test::Nginx->new() 25 my $t = Test::Nginx->new()
26 ->has(qw/stream stream_upstream_zone stream_upstream_random/) 26 ->has(qw/stream stream_upstream_zone stream_upstream_random/)->plan(12)
27 ->write_file_expand('nginx.conf', <<'EOF'); 27 ->write_file_expand('nginx.conf', <<'EOF');
28 28
29 %%TEST_GLOBALS%% 29 %%TEST_GLOBALS%%
30 30
31 daemon off; 31 daemon off;
168 168
169 EOF 169 EOF
170 170
171 $t->run_daemon(\&http_daemon, port(8081)); 171 $t->run_daemon(\&http_daemon, port(8081));
172 $t->run_daemon(\&http_daemon, port(8082)); 172 $t->run_daemon(\&http_daemon, port(8082));
173 $t->try_run('no upstream random')->plan(12); 173 $t->run();
174 174
175 $t->waitforsocket('127.0.0.1:' . port(8081)); 175 $t->waitforsocket('127.0.0.1:' . port(8081));
176 $t->waitforsocket('127.0.0.1:' . port(8082)); 176 $t->waitforsocket('127.0.0.1:' . port(8082));
177 177
178 ############################################################################### 178 ###############################################################################