Mercurial > hg > nginx-tests
changeset 342:86fa2a5a37ea
Tests: adjust least_conn test timeouts.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 25 Sep 2013 21:29:53 +0400 |
parents | b86d60e4cb96 |
children | e7dc8f4d0a4b |
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(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");