]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: test: Add wait_for_keymgr_done() util function to tests
authorNicki Křížek <nicki@isc.org>
Fri, 18 Jul 2025 13:30:32 +0000 (15:30 +0200)
committerNicki Křížek <nicki@isc.org>
Fri, 18 Jul 2025 13:30:32 +0000 (15:30 +0200)
The kasp test cases assume that keymgr operations on the zone under test
have been completed before the test is executed. These are typically
quite fast, but the logs need to be explicitly checked for the messages,
otherwise there's a possibility of race conditions causing the
kasp/rollover tests to become unstable.

Call the wait function in all the kasp/rollover tests where it is
expected (which is generally in each test, unless we're dealing with
unsigned zones).

Closes #5371

Merge branch '5371-wait-keymgr-done-rollover-kasp-tests' into 'main'

See merge request isc-projects/bind9!10717


Trivial merge