# HG changeset patch # User Maxim Dounin # Date 1380130193 -14400 # Node ID 86fa2a5a37ea3f60eafbc4529f56ca059ba48f83 # Parent b86d60e4cb9658d4b2d406f8fd457590bb4a947e Tests: adjust least_conn test timeouts. diff --git a/upstream_least_conn.t b/upstream_least_conn.t --- 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(1.5)"); - select undef, undef, undef, 1.5; + Test::Nginx::log_core('||', "$port: sleep(3)"); + select undef, undef, undef, 3; } Test::Nginx::log_core('||', "$port: response, 200");