mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-11 02:30:44 -04:00
[9.18] chg: test: Be more patient when stopping servers in the system tests
When the TCP test is run on the busy server, the server might take a
while to wind the server down because it might still be processing all
that 300k invalid XFR requests.
Increate the rncd wait time to 120 seconds, the SIGTERM time to 300
seconds, and reduce the time to wait for ans servers from 1200 second
to just 120 seconds.
(cherry picked from commit d971472321)
Backport of MR !6847
Merge branch 'backport-ondrej-increase-the-time-to-wait-for-servers-to-gracefully-shutdown-9.18' into 'bind-9.18'
See merge request isc-projects/bind9!9467
This commit is contained in:
commit
1cdde5656d
1 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@ if ($use_rndc) {
|
|||
stop_rndc($name, $rndc_port);
|
||||
}
|
||||
|
||||
@ns = wait_for_servers(30, @ns);
|
||||
@ns = wait_for_servers(120, @ns);
|
||||
}
|
||||
|
||||
# Pass 2: SIGTERM
|
||||
|
|
@ -106,13 +106,13 @@ foreach my $name (@ns) {
|
|||
stop_signal($name, "TERM");
|
||||
}
|
||||
|
||||
@ns = wait_for_servers(60, @ns);
|
||||
@ns = wait_for_servers(300, @ns);
|
||||
|
||||
foreach my $name(@ans) {
|
||||
stop_signal($name, "TERM", 1);
|
||||
}
|
||||
|
||||
@ans = wait_for_servers(1200, @ans);
|
||||
@ans = wait_for_servers(300, @ans);
|
||||
|
||||
# Pass 3: SIGABRT
|
||||
foreach my $name (@ns) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue