]> git.ipfire.org Git - thirdparty/bind9.git/commit
Adjust serve-stale test
authorMatthijs Mekking <matthijs@isc.org>
Thu, 4 Feb 2021 14:07:40 +0000 (15:07 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 8 Feb 2021 14:17:09 +0000 (15:17 +0100)
commit00f575e7ef8c94f5894fe8b669ef3817af8a105f
treeafe1a50c6a2499ece548d7ac1b5be8da8f012ea8
parent8bcd7fe69e5343071fc917738d6092a8b974ef3f
Adjust serve-stale test

The number of queries to use in the burst can be reduced, as we have
a very low fetch limit of 1.

The dig command in 'wait_for_fetchlimits()' should time out sooner as
we expect a SERVFAIL to be returned promptly.

Enabling serve-stale can be done before hitting fetch-limits. This
reduces the chance that the resolver queries time out and fetch count
is reset. The chance of that happening is already slim because
'resolver-query-timeout' is 10 seconds, but better to first let the
data become stale rather than doing that while attempting to resolve.
bin/tests/system/serve-stale/tests.sh