mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '3269-increase-server-start-timeout-v9_18' into 'v9_18'
[9.18] Increase server start timeout for system tests See merge request isc-projects/bind9!7619
This commit is contained in:
commit
ed598a8c7a
1 changed files with 2 additions and 2 deletions
|
|
@ -205,12 +205,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 "");
|
||||
|
|
|
|||
Loading…
Reference in a new issue