Mercurial > hg > nginx-tests
changeset 400:98d9b06b087b
Tests: adjust least_conn test timeouts.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 16 May 2014 20:06:35 +0400 |
parents | c6ab68c41c8c |
children | 2961a6a83809 |
files | upstream_least_conn.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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");