]> git.ipfire.org Git - thirdparty/bind9.git/commit
extend rndc timeout to 60 seconds
authorEvan Hunt <each@isc.org>
Sat, 22 May 2021 02:33:54 +0000 (19:33 -0700)
committerEvan Hunt <each@isc.org>
Sat, 22 May 2021 08:11:31 +0000 (01:11 -0700)
commit3ed35b3035922b6397be91c76cedec9ed60473e3
tree688deb1c48a401c736b03d32d88d81da52dc1cde
parentc819762dde45f22addb8d7b0828d6a8ea89098b4
extend rndc timeout to 60 seconds

the idle timeout for rndc connections was set to 10 seconds, but this
caused intermittent system failures of the 'rndc' system test on slow
platforms, since 'rndc reconfig' could time out before reconfiguration
was complete.

this commit restores the original timeout value of 60 seconds, which was
changed inadvertently after rndc was updated to use the network manager.

even with this change, however, the test can still time out under
TSAN because loading the huge zone can take a very long time (upwards
of two minutes). so the test is modified here to generate a smaller zone
file when running under TSAN.
CHANGES
bin/rndc/rndc.c
bin/tests/system/rndc/setup.sh
bin/tests/system/rndc/tests.sh