mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 21:32:11 -04:00
Merge branch '2983-fix-doth-system-test' into 'main'
Resolve #2983: Increase startup timeout for servers in system tests Closes #2983 See merge request isc-projects/bind9!5609
This commit is contained in:
commit
71ee5f6148
1 changed files with 2 additions and 2 deletions
|
|
@ -202,12 +202,12 @@ sub start_server {
|
|||
my $child = `$command`;
|
||||
chomp($child);
|
||||
|
||||
# wait up to 25 seconds for the server to start and to write the
|
||||
# wait up to 40 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 > 250) {
|
||||
if (++$tries > 400) {
|
||||
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