bind9/bin/tests
Matthijs Mekking 104b676235 Serve-stale nit fixes
While working on the serve-stale backports, I noticed the following
oddities:

1. In the serve-stale system test, in one case we keep track of the
   time how long it took for dig to complete. In commit
   aaed7f9d8c, the code removed the
   exception to check for result == ISC_R_SUCCESS on stale found
   answers, and adjusted the test accordingly. This failed to update
   the time tracking accordingly. Move the t1/t2 time track variables
   back around the two dig commands to ensure the lookups resolved
   faster than the resolver-query-timeout.

2. We can remove the setting of NS_QUERYATTR_STALEOK and
   DNS_RDATASETATTR_STALE_ADDED on the "else if (stale_timeout)"
   code path, because they are added later when we know we have
   actually found a stale answer on a stale timeout lookup.

3. We should clear the NS_QUERYATTR_STALEOK flag from the client
   query attributes instead of DNS_RDATASETATTR_STALE_ADDED (that
   flag is set on the rdataset attributes).

4. In 'bin/named/config.c' we should set the configuration options
   in alpabetical order.

5. In the ARM, in the backports we have added "(stale)" between
   "cached" and "RRset" to make more clear a stale RRset may be
   returned in this scenario.
2021-04-28 12:24:24 +02:00
..
startperf update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
system Serve-stale nit fixes 2021-04-28 12:24:24 +02:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
.gitignore Refactor TLSDNS module to work with libuv/ssl directly 2021-01-25 09:19:22 +01:00
Makefile.am Refactor TLSDNS module to work with libuv/ssl directly 2021-01-25 09:19:22 +01:00
named.conf Remove a lot of obsoleted options 2021-01-19 10:12:40 +01:00
prepare-softhsm2.sh update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
test_client.c isc_nm_*connect() always return via callback 2021-04-07 15:36:59 +02:00
test_server.c DoH: call send callbacks after data was actually sent 2021-03-05 13:29:32 +02:00
wire_test.c Silence CID 320481: Null pointer dereferences 2021-02-23 12:45:45 +00:00