# HG changeset patch # User Sergey Kandaurov # Date 1492693385 -10800 # Node ID ba26845f53ff84bc335e4205bf264d9d0978702e # Parent cdd44ff602dba2502c60da83811f7a957bc6a71a Tests: reduced the number of UDP streams in stream_udp_upstream.t. diff --git a/stream_udp_upstream.t b/stream_udp_upstream.t --- a/stream_udp_upstream.t +++ b/stream_udp_upstream.t @@ -97,10 +97,10 @@ EOF my @ports = my ($port4, $port5, $port6) = (port(8084), port(8085), port(8086)); -is(many(30, port(8080)), "$port4: 15, $port5: 15", 'balanced'); -is(many(30, port(8081)), "$port4: 15, $port5: 15", 'failures'); -is(many(30, port(8082)), "$port4: 10, $port5: 20", 'weight'); -is(many(30, port(8083)), "$port4: 30", 'backup'); +is(many(10, port(8080)), "$port4: 5, $port5: 5", 'balanced'); +is(many(10, port(8081)), "$port4: 5, $port5: 5", 'failures'); +is(many(9, port(8082)), "$port4: 3, $port5: 6", 'weight'); +is(many(10, port(8083)), "$port4: 10", 'backup'); $t->stop();