# HG changeset patch # User Sergey Kandaurov # Date 1618218738 -10800 # Node ID 489484af31eba888c12049509d405df55356ddf3 # Parent 03cf423ea140b755c5471b2ca3b98634a584d866 Tests: adjusted keepalive_time test timeout. diff --git a/http_keepalive.t b/http_keepalive.t --- 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');