Mercurial > hg > nginx-tests
diff ssl_stapling.t @ 1407:8c764fd93b5e
Tests: adjusted client connect timeout in various tests with SSL.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 30 Nov 2018 12:55:31 +0300 |
parents | 94bcad5611af |
children | 4e48bf51714f |
line wrap: on
line diff
--- a/ssl_stapling.t +++ b/ssl_stapling.t @@ -294,7 +294,7 @@ sub staple { eval { local $SIG{ALRM} = sub { die "timeout\n" }; local $SIG{PIPE} = sub { die "sigpipe\n" }; - alarm(2); + alarm(5); $s = IO::Socket::INET->new('127.0.0.1:' . port($port)); alarm(0); }; @@ -335,7 +335,7 @@ sub get_version { eval { local $SIG{ALRM} = sub { die "timeout\n" }; local $SIG{PIPE} = sub { die "sigpipe\n" }; - alarm(2); + alarm(5); $s = IO::Socket::INET->new('127.0.0.1:' . port(8443)); alarm(0); };