]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix check interaction in the "serve-stale" test
authorMichał Kępień <michal@isc.org>
Thu, 28 Mar 2024 17:56:35 +0000 (18:56 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 28 Mar 2024 17:56:35 +0000 (18:56 +0100)
commit82cc9e88d34e75b87d31e36e9dfc3924f77f48cd
treed2ce9c0e66f9c9a1731afb79e695915933f40284
parent8f9d662a098fae963e2d21ecfdfc4be9cf1b21eb
Fix check interaction in the "serve-stale" test

Commit f351c210344c4ce0b69a307ae8e0e22efd107097 modified the
"serve-stale" system test by adding the ns3/named9.conf.in configuration
file and making the ns3 named instance load that file near the end of
the test.  However, ns3/named9.conf.in changes the
stale-answer-client-timeout setting to a very low value, which affects
all subsequent checks in tests.sh (rather than just the check that needs
the low value to be set) and may cause false positives.  Fix by
reloading configuration from ns3/named8.conf.in as soon as the check
using a very low stale-answer-client-timeout value is finished.

(cherry picked from commit cd64a3747b7c25a89a532e39a593fc823e78d5b7)
bin/tests/system/serve-stale/tests.sh