From: Yang Tse Date: Thu, 1 Sep 2011 20:21:57 +0000 (+0200) Subject: test harness: https, ftps and ssh servers allowed start up time increased 33% X-Git-Tag: upstream/7.37.1~3771 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a5bbb2ac1beea7ecdbfb856c131f3681c87b38f;p=platform%2Fupstream%2Fcurl.git test harness: https, ftps and ssh servers allowed start up time increased 33% --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 304021f..773e565 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1241,7 +1241,7 @@ sub runhttpsserver { $flags .= "--connect $HTTPPORT --accept $HTTPSPORT"; my $cmd = "$perl $srcdir/secureserver.pl $flags"; - my ($httpspid, $pid2) = startnew($cmd, $pidfile, 15, 0); + my ($httpspid, $pid2) = startnew($cmd, $pidfile, 20, 0); if($httpspid <= 0 || !kill(0, $httpspid)) { # it is NOT alive @@ -1501,7 +1501,7 @@ sub runftpsserver { $flags .= "--connect $FTPPORT --accept $FTPSPORT"; my $cmd = "$perl $srcdir/secureserver.pl $flags"; - my ($ftpspid, $pid2) = startnew($cmd, $pidfile, 15, 0); + my ($ftpspid, $pid2) = startnew($cmd, $pidfile, 20, 0); if($ftpspid <= 0 || !kill(0, $ftpspid)) { # it is NOT alive @@ -1742,7 +1742,7 @@ sub runsshserver { $flags .= "--user \"$USER\""; my $cmd = "$perl $srcdir/sshserver.pl $flags"; - my ($sshpid, $pid2) = startnew($cmd, $pidfile, 60, 0); + my ($sshpid, $pid2) = startnew($cmd, $pidfile, 80, 0); # on loaded systems sshserver start up can take longer than the timeout # passed to startnew, when this happens startnew completes without being