Mercurial > hg > nginx-tests
changeset 1670:489484af31eb
Tests: adjusted keepalive_time test timeout.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 12 Apr 2021 12:12:18 +0300 |
parents | 03cf423ea140 |
children | e57bb4224131 |
files | http_keepalive.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/http_keepalive.t Fri Apr 09 16:12:30 2021 +0300 +++ b/http_keepalive.t Mon Apr 12 12:12:18 2021 +0300 @@ -125,7 +125,7 @@ is(() = $r =~ /(200 OK)/g, 3, 'keepalive time requests'); unlike($r, qr/Connection: close/, 'keepalive time connection'); -$r = http_keepalive('/time', req => 3, sleep => 1.1); +$r = http_keepalive('/time', req => 3, sleep => 1.2); is(() = $r =~ /(200 OK)/g, 2, 'keepalive time limit requests'); like($r, qr/Connection: close/, 'keepalive time limit connection');