From b0119436b02147b535da4972b3417db75d4d2a98 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Thu, 29 Dec 2022 15:22:17 +0100 Subject: [PATCH] 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 --- tests/ftpserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3