diff upstream_least_conn.t @ 400:98d9b06b087b

Tests: adjust least_conn test timeouts.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 16 May 2014 20:06:35 +0400
parents 86fa2a5a37ea
children 60888e2c3f5a
line wrap: on
line diff
--- a/upstream_least_conn.t
+++ b/upstream_least_conn.t
@@ -179,8 +179,8 @@ sub http_daemon {
 		$uri = $1 if $headers =~ /^\S+\s+([^ ]+)\s+HTTP/i;
 
 		if ($uri eq '/w' && $port == 8081) {
-			Test::Nginx::log_core('||', "$port: sleep(3)");
-			select undef, undef, undef, 3;
+			Test::Nginx::log_core('||', "$port: sleep(2.5)");
+			select undef, undef, undef, 2.5;
 		}
 
 		Test::Nginx::log_core('||', "$port: response, 200");