From 705f0d1ed13dfee180068d1e276af046eadbb3c3 Mon Sep 17 00:00:00 2001 From: Artem Boldariev Date: Wed, 25 May 2022 14:49:32 +0300 Subject: [PATCH] Increase server start timeout for system tests This commit increases server start timeout from 60 to 90 seconds in order to avoid system test failures on some platforms due to inability to initialise TLS contexts in time. --- bin/tests/system/start.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/start.pl b/bin/tests/system/start.pl index 12613b1d1e..37e6478a48 100755 --- a/bin/tests/system/start.pl +++ b/bin/tests/system/start.pl @@ -204,12 +204,12 @@ sub start_server { my $child = `$command`; chomp($child); - # wait up to 60 seconds for the server to start and to write the + # wait up to 90 seconds for the server to start and to write the # pid file otherwise kill this server and any others that have # already been started my $tries = 0; while (!-s $pid_file) { - if (++$tries > 600) { + if (++$tries > 900) { print "I:$test:Couldn't start server $command (pid=$child)\n"; print "I:$test:failed\n"; kill "ABRT", $child if ("$child" ne "");