]> 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:38:38 +0000 (09:38 +0200)
commit6831af7717b8df9edd9d43ebe884f809c98c468f
treefc3506e82106abefcf017ee4b9fc790e6e204611
parent46e439ba8d84989f73d61fdf536a600b2995fe22
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.

(cherry picked from commit e36c869e8511ab890ec63d8449f1aa29214ebd32)
bin/tests/system/inline/tests.sh