# HG changeset patch # User Maxim Dounin # Date 1400256395 -14400 # Node ID 98d9b06b087bb522062712967955ca507d79b45a # Parent c6ab68c41c8c59006dea45d14eaafb2f5604dadf 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(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");