]> git.ipfire.org Git - thirdparty/bind9.git/commit
Avoid false positive in serve-stale system test check
authorTom Krizek <tkrizek@isc.org>
Tue, 13 Jun 2023 08:52:01 +0000 (10:52 +0200)
committerTom Krizek <tkrizek@isc.org>
Tue, 13 Jun 2023 12:16:00 +0000 (14:16 +0200)
commitc911aef622e2c067b9913e81ca1de362ebf2458a
tree6344859ef4cf8ae118dc90a769fc643e6688c28e
parent6f23eef2d5b33f4d87fbd7758f90da6d65c611b1
Avoid false positive in serve-stale system test check

The purpose of the check is to verify the server has survived the
previous barrage of queries. This is done by sending a query and
checking we get a NOERROR response back.

Previously, that query could've been affected by a servfail cache - the
server would return a SERVFAIL answer, thus failing the check, despite
being up and running. Use version.bind txt ch query to avoid the
interference of servfail cache.

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