Tests: stream_udp_limit_rate.t TODOs removed, fix committed.
diff --git a/stream_udp_limit_rate.t b/stream_udp_limit_rate.t index 55e698a..98af15c 100644 --- a/stream_udp_limit_rate.t +++ b/stream_udp_limit_rate.t
@@ -74,35 +74,20 @@ # 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 {