]> git.ipfire.org Git - thirdparty/bind9.git/commit
Wait for the "fast-expire" zone to be transferred
authorMichał Kępień <michal@isc.org>
Thu, 5 Nov 2020 06:53:43 +0000 (07:53 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 5 Nov 2020 06:55:36 +0000 (07:55 +0100)
commit64ca2e0061b9bd085362bdb33cdf2b7dbf870df4
treebf46a58d20b24f34c994edb1275fbb013854e7d0
parent1e8cab780bc48dd935b2eb836ab214480e835c85
Wait for the "fast-expire" zone to be transferred

In order for a "fast-expire/IN: response-policy zone expired" message to
be logged in ns3/named.run, the "fast-expire" zone must first be
transferred in by that server.  However, with unfavorable timing, ns3
may be stopped before it manages to fetch the "fast-expire" zone from
ns5 and after the latter has been reconfigured to no longer serve that
zone.  In such a case, the "rpz" system test will report a false
positive for the relevant check.  Prevent that from happening by
ensuring ns3 manages to transfer the "fast-expire" zone before getting
shut down.

(cherry picked from commit 39191052ad90da2418f2d144708d09b12c173ec4)
bin/tests/system/rpz/tests.sh