diff lib/Test/Nginx/IMAP.pm @ 1423:29d0961bc3f7

Tests: aligned generic read timeouts in stream and mail tests.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 25 Dec 2018 13:56:49 +0300
parents 575d39cc0e35
children d0025a0dead7
line wrap: on
line diff
--- a/lib/Test/Nginx/IMAP.pm
+++ b/lib/Test/Nginx/IMAP.pm
@@ -60,7 +60,7 @@ sub read {
 	my $socket = $self->{_socket};
 	eval {
 		local $SIG{ALRM} = sub { die "timeout\n" };
-		alarm(3);
+		alarm(8);
 		while (<$socket>) {
 			log_in($_);
 			# XXX