bind9/lib/dns/tests
Ondřej Surý b5bf58b419 Destroy netmgr before destroying taskmgr
With taskmgr running on top of netmgr, the ordering of how the tasks and
netmgr shutdown interacts was wrong as previously isc_taskmgr_destroy()
was waiting until all tasks were properly shutdown and detached.  This
responsibility was moved to netmgr, so we now need to do the following:

  1. shutdown all the tasks - this schedules all shutdown events onto
     the netmgr queue

  2. shutdown the netmgr - this also makes sure all the tasks and
     events are properly executed

  3. Shutdown the taskmgr - this now waits for all the tasks to finish
     running before returning

  4. Shutdown the netmgr - this call waits for all the netmgr netievents
     to finish before returning

This solves the race when the taskmgr object would be destroyed before
all the tasks were finished running in the netmgr loops.
2021-05-07 14:28:30 -07:00
..
testdata Add NSEC3PARAM unit test, refactor zone.c 2020-11-26 10:43:59 +01:00
testkeys Add a framework for dns__zone_updatesigs() unit tests 2018-05-09 13:32:09 +02:00
.gitignore Add lib/dns/tests/testdata/dnstap/dnstap.file to .gitignore 2018-12-11 11:32:24 +01:00
acl_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
db_test.c Use stale TTL as RRset TTL in dumpdb 2021-04-13 09:48:20 +02:00
dbdiff_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
dbiterator_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
dbversion_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
dh_test.c Drop USE_OPENSSL constraint from dh_test 2021-02-17 12:21:41 +01:00
dispatch_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
dns64_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
dnstap_test.c Use SKIPPED_TEST_EXIT_CODE consistently 2021-02-16 13:41:50 +01:00
dnstest.c Destroy netmgr before destroying taskmgr 2021-05-07 14:28:30 -07:00
dnstest.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
dst_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
geoip_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
Kdh.+002+18602.key [master] add diffie-hellman key unit test 2014-10-17 15:55:37 -07:00
keytable_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
Krsa.+005+29235.key Merged rt43077 (new RSA verify unit test) 2016-08-22 14:10:21 +02:00
Makefile.am Do not build geoip_test when GeoIP is not available 2021-02-15 11:19:15 +01:00
master_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
mkraw.pl update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
name_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
nsec3_test.c Reduce nsec3 max iterations to 150 2021-04-29 17:18:26 +10:00
nsec3param_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
peer_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
private_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
rbt_serialize_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
rbt_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
rdata_test.c Update ZONEMD to match RFC 8976 2021-04-30 10:43:37 +10:00
rdataset_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
rdatasetstats_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
resolver_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
result_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
rsa_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
sigs_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
time_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
tsig_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
update_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
zonemgr_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00
zt_test.c Record skipped unit test as skipped in Automake framework 2021-02-15 11:18:03 +01:00