]> git.ipfire.org Git - thirdparty/bind9.git/commit
Prevent a race in the "inline" system test
authorMichał Kępień <michal@isc.org>
Fri, 24 Aug 2018 07:37:37 +0000 (09:37 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 24 Aug 2018 07:37:37 +0000 (09:37 +0200)
commite36c869e8511ab890ec63d8449f1aa29214ebd32
tree324ab555468d49b25069a3358a3199e04484021e
parent1c82dde85c6007fcb4593c4fa9d8b808386e9b50
Prevent a race in the "inline" system test

A short time window exists between logging the addition of an NSEC3PARAM
record to a zone and committing it to the current version of the zone
database.  If a query arrives during such a time window, an unsigned
response will be returned.  One of the checks in the "inline" system
test requires NSEC3 records to be present in an answer - that check
would fail in the case described above.  Use rndc instead of log
watching for checking whether zone signing and NSEC3 chain modifications
are complete in order to prevent intermittent "inline" system test
failures.
bin/tests/system/inline/tests.sh