From: Stefan Eissing Date: Thu, 29 Dec 2022 14:22:17 +0000 (+0100) Subject: ftpserver: lower the normal DATA connect timeout to speed up torture tests X-Git-Tag: curl-7_88_0~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0119436b02147b535da4972b3417db75d4d2a98;p=thirdparty%2Fcurl.git ftpserver: lower the normal DATA connect timeout to speed up torture tests - tests/ftpserver.pl blocks when expecting a DATA connection from the client. - the previous 10 seconds were encountered repeatedly in torture tests and let to long waits. - 2 seconds should still be sufficient for current hw, but CI will show. Closes #10178 --- diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 095e8b76e2..391b5d0498 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -2577,7 +2577,7 @@ sub PASV_ftp { local $SIG{ALRM} = sub { die "alarm\n" }; # assume swift operations unless explicitly slow - alarm ($datadelay?20:10); + alarm ($datadelay?20:2); # Wait for 'CNCT' my $input;