bind9/tests
Ondřej Surý 6fd06c461b
Make dns_dispatch bound to threads
Instead of high number of dispatches (4 * named_g_udpdisp)[1], make the
dispatches bound to threads and make dns_dispatchset_t create a dispatch
for each thread (event loop).

This required couple of other changes:

1. The dns_dispatch_createudp() must be called on loop, so the isc_tid()
   is already initialized - changes to nsupdate and mdig were required.

2. The dns_requestmgr had only a single dispatch per v4 and v6.  Instead
   of using single dispatch, use dns_dispatchset_t for each protocol -
   this is same as dns_resolver.
2023-09-16 07:32:17 +02:00
..
bench Refactor isc_hashmap to accept custom match function 2023-09-16 07:20:48 +02:00
dns Make dns_dispatch bound to threads 2023-09-16 07:32:17 +02:00
include/tests Attach to the dns_dispatchmgr in the dns_view object 2023-08-15 10:25:37 -07:00
irs Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
isc Refactor isc_hashmap to accept custom match function 2023-09-16 07:20:48 +02:00
isccfg Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
libtest remove dns_name_fromstring2() 2023-08-31 10:29:16 -07:00
ns Attach to the dns_dispatchmgr in the dns_view object 2023-08-15 10:25:37 -07:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Build libtest even if CMOCKA is not available 2023-03-29 02:29:18 +00:00
unit-test-driver.sh.in Use SIGABRT rather than SIGKILL for long running unit test 2023-04-14 15:40:02 +10:00