Mercurial > hg > nginx-tests
comparison stream_udp_stream.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 | 2fc21bdd6f0d |
children | f3ba4c74de31 |
comparison
equal
deleted
inserted
replaced
1534:96fb3513345b | 1535:144c6ce732e4 |
---|---|
60 my $data2 = $s2->io('1', read_timeout => 0.5); | 60 my $data2 = $s2->io('1', read_timeout => 0.5); |
61 isnt($data2, '', 'udp_stream response 2'); | 61 isnt($data2, '', 'udp_stream response 2'); |
62 | 62 |
63 isnt($data, $data2, 'udp_stream two sessions'); | 63 isnt($data, $data2, 'udp_stream two sessions'); |
64 | 64 |
65 TODO: { | |
66 local $TODO = 'not yet' unless $t->has_version('1.15.0'); | |
67 | |
68 is($s->io('1'), $data, 'udp_stream session 1'); | 65 is($s->io('1'), $data, 'udp_stream session 1'); |
69 is($s->io('1'), $data, 'udp_stream session 2'); | 66 is($s->io('1'), $data, 'udp_stream session 2'); |
70 | 67 |
71 is($s2->io('1'), $data2, 'udp_stream another session 1'); | 68 is($s2->io('1'), $data2, 'udp_stream another session 1'); |
72 is($s2->io('1'), $data2, 'udp_stream another session 2'); | 69 is($s2->io('1'), $data2, 'udp_stream another session 2'); |
73 | 70 |
74 } | |
75 | |
76 select undef, undef, undef, 1.1; | 71 select undef, undef, undef, 1.1; |
77 | 72 |
78 isnt($s->io('1'), $data, 'udp_stream new session'); | 73 isnt($s->io('1'), $data, 'udp_stream new session'); |
79 | 74 |
80 ############################################################################### | 75 ############################################################################### |