comparison stream_udp_upstream_hash.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 e4974af3fb12
comparison
equal deleted inserted replaced
1019:41139d6f8b7b 1020:196d33c2bb45
21 ############################################################################### 21 ###############################################################################
22 22
23 select STDERR; $| = 1; 23 select STDERR; $| = 1;
24 select STDOUT; $| = 1; 24 select STDOUT; $| = 1;
25 25
26 my $t = Test::Nginx->new()->has(qw/stream stream_upstream_hash udp/); 26 my $t = Test::Nginx->new()->has(qw/stream stream_upstream_hash udp/)->plan(2);
27 27
28 $t->write_file_expand('nginx.conf', <<'EOF'); 28 $t->write_file_expand('nginx.conf', <<'EOF');
29 29
30 %%TEST_GLOBALS%% 30 %%TEST_GLOBALS%%
31 31
63 63
64 EOF 64 EOF
65 65
66 $t->run_daemon(\&udp_daemon, port(8082), $t); 66 $t->run_daemon(\&udp_daemon, port(8082), $t);
67 $t->run_daemon(\&udp_daemon, port(8083), $t); 67 $t->run_daemon(\&udp_daemon, port(8083), $t);
68 $t->try_run('no stream udp')->plan(2); 68 $t->run();
69 69
70 $t->waitforfile($t->testdir . '/' . port(8082)); 70 $t->waitforfile($t->testdir . '/' . port(8082));
71 $t->waitforfile($t->testdir . '/' . port(8083)); 71 $t->waitforfile($t->testdir . '/' . port(8083));
72 72
73 ############################################################################### 73 ###############################################################################