bind9/tests
Evan Hunt 28d0c37ef0 Call dns_resolver_createfetch() asynchronously in zone_refreshkeys()
Because dns_resolver_createfetch() locks the view, it was necessary
to unlock the zone in zone_refreshkeys() before calling it in order
to maintain the lock order, and relock afterward. this permitted a race
with dns_zone_synckeyzone().

This commit moves the call to dns_resolver_createfetch() into a separate
function which is called asynchronously after the zone has been
unlocked.

The keyfetch object now attaches to the zone to ensure that
it won't be shut down before the asynchronous call completes.

This necessitated refactoring dns_zone_detach() so it always runs
unlocked. For managed zones it schedules zone_shutdown() to
run asynchronously; for unmanaged zones there is no task.
2022-11-01 00:23:05 -07:00
..
dns Call dns_resolver_createfetch() asynchronously in zone_refreshkeys() 2022-11-01 00:23:05 -07:00
include/tests Update clang to version 14 2022-06-16 18:09:33 +02:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc Call isc_mutex_destroy(&lasttime_mx); 2022-08-24 17:03:57 +10:00
isccfg Test cfg_print_duration() in duration_test.c 2022-10-17 08:52:26 +00:00
libtest Don't list libtest.la headers in HEADERS variable 2022-06-01 17:45:34 +02:00
ns Properly adjust the srcdir vs builddir paths 2022-06-01 17:45:34 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
Makefile.am Stop the unit tests from running twice 2022-05-31 12:06:00 +02:00
unit-test-driver.sh.in Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00