diff lib/Test/Nginx/IMAP.pm @ 339:9d0a2fa47ac6

Tests: change http timeout to 5s, imap/pop3/smtp to 3s. Excessive testing shows it should be enough to don't trigger false positive test suite failures on slow machines. Drop custom timeouts as previously used by dav_chunked.t accordingly.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 23 Sep 2013 22:54:43 +0400
parents de7338227832
children e6817a00ba00
line wrap: on
line diff
--- a/lib/Test/Nginx/IMAP.pm
+++ b/lib/Test/Nginx/IMAP.pm
@@ -42,7 +42,7 @@ sub read {
 	my ($self) = @_;
 	eval {
 		local $SIG{ALRM} = sub { die "timeout\n" };
-		alarm(2);
+		alarm(3);
 		while (<$self>) {
 			log_in($_);
 			# XXX