]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use timeout for rndc status in shutdown test
authorTom Krizek <tkrizek@isc.org>
Mon, 26 Jun 2023 13:19:35 +0000 (15:19 +0200)
committerTom Krizek <tkrizek@isc.org>
Tue, 4 Jul 2023 12:36:05 +0000 (14:36 +0200)
commit184eddb595b4ffd8957fda166e705818799691aa
tree0884cd35f96782fe0e174911c48bc970e993ffb5
parentc7b0ac0367f7bb947f374eefbf06d0adc92d5817
Use timeout for rndc status in shutdown test

Pass 5 second timeout to the rndc status command(s) to avoid hitting the
hard 10 second timeout from subprocess.call, which would result in an
unwanted exception that would only mask the real issue: if the rndc
status times out in this test, it is likely due to the server not
stopping as it should.

(cherry picked from commit ceed694659baaffc6e678e680a0dae33d1a07eca)
bin/tests/system/shutdown/tests_shutdown.py