changeset 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 104701299b91
children 8c764fd93b5e
files lib/Test/Nginx/HTTP2.pm
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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",