# HG changeset patch # User Sergey Kandaurov # Date 1438589083 -10800 # Node ID 1d1eaf5ce064f9096054e239897d1b82ca9d1814 # Parent 2b43ad56bce0c69f4f5d4bc0a2f041cd84b8d343 Tests: adjusted proxy_cache_lock_ssi.t test timeouts. Timeouts were relaxed to avoid occasional failures. diff -r 2b43ad56bce0 -r 1d1eaf5ce064 proxy_cache_lock_ssi.t --- a/proxy_cache_lock_ssi.t Thu Jul 30 13:26:50 2015 +0300 +++ b/proxy_cache_lock_ssi.t Mon Aug 03 11:04:43 2015 +0300 @@ -50,7 +50,7 @@ proxy_cache_lock on; proxy_cache_lock_timeout 100ms; - proxy_read_timeout 2s; + proxy_read_timeout 3s; add_header X-Msec $msec; } @@ -97,6 +97,6 @@ my $s = http_get('/locked', start => 1); like(http_get('/ssi.html'), qr/end/, 'cache lock ssi'); my ($start) = http_end($s) =~ /X-Msec: (\d+)/; -cmp_ok(time() - $start, '<=', 3, 'parallel execution after lock timeout'); +cmp_ok(time() - $start, '<=', 5, 'parallel execution after lock timeout'); ###############################################################################