changeset 1165:ba26845f53ff

Tests: reduced the number of UDP streams in stream_udp_upstream.t.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 20 Apr 2017 16:03:05 +0300
parents cdd44ff602db
children 2b8523bd4988
files stream_udp_upstream.t
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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();