changeset 793:ee7e07d826b8

Tests: adjusted proxy_cache_lock.t test timeout for slow hosts. A too short delay may result in proxy_cache_lock_timeout not fired, so the next request will get a fresh response from backend, and the timeout test will fail.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 02 Dec 2015 14:05:17 +0300
parents 47139a1ce06e
children fed83003c45c
files proxy_cache_lock.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_cache_lock.t
+++ b/proxy_cache_lock.t
@@ -150,7 +150,7 @@ sub http_fake_daemon {
 
 		next unless $uri;
 
-		select(undef, undef, undef, 0.5);
+		select(undef, undef, undef, 1.1);
 
 		$num++;
 		print $client <<"EOF";