Mercurial > hg > nginx-tests
changeset 1431:aab729315dca
Tests: stream_udp_limit_rate.t TODOs removed, fix committed.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 17 Jan 2019 19:29:18 +0300 |
parents | bba26f4b40ef |
children | d17fb72140f2 |
files | stream_udp_limit_rate.t |
diffstat | 1 files changed, 1 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/stream_udp_limit_rate.t +++ b/stream_udp_limit_rate.t @@ -74,35 +74,20 @@ is($s->io($str), $str, 'unlimited 2'); # datagram doesn't get split -my $t1; - -TODO: { -local $TODO = 'split datagram'; - $s = dgram('127.0.0.1:' . port(8983)); is($s->io($str), $str, 'download'); -$t1 = time(); +my $t1 = time(); is($s->io($str), $str, 'download 2'); - -} - my $t2 = time(); cmp_ok($t1, '<', $t2, 'download 2 delayed'); -TODO: { -todo_skip 'infinite event report', 3; - $s = dgram('127.0.0.1:' . port(8984)); is($s->io($str), $str, 'upload'); - is($s->io($str, read_timeout => 0.5), '', 'upload limited'); select undef, undef, undef, 0.6; - is($s->io($str), $str, 'upload passed'); -} - ############################################################################### sub udp_daemon {