diff lib/Test/Nginx/HTTP2.pm @ 1406:6404fd77f367

Tests: adjusted connect timeout in HTTP/2 tests.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 29 Nov 2018 19:18:20 +0300
parents d6382e557fc0
children 4e48bf51714f
line wrap: on
line diff
--- a/lib/Test/Nginx/HTTP2.pm
+++ b/lib/Test/Nginx/HTTP2.pm
@@ -501,7 +501,7 @@ sub new_socket {
 	eval {
 		local $SIG{ALRM} = sub { die "timeout\n" };
 		local $SIG{PIPE} = sub { die "sigpipe\n" };
-		alarm(2);
+		alarm(5);
 		$s = IO::Socket::INET->new(
 			Proto => 'tcp',
 			PeerAddr => "127.0.0.1:$port",