Mercurial > hg > nginx-tests
diff http_keepalive.t @ 1670:489484af31eb
Tests: adjusted keepalive_time test timeout.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 12 Apr 2021 12:12:18 +0300 |
parents | 0c1bd4c23c95 |
children | 5ac6efbe5552 |
line wrap: on
line diff
--- a/http_keepalive.t +++ b/http_keepalive.t @@ -125,7 +125,7 @@ like(http_keepalive('/zero'), qr/Connect 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');