]> 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 15:10:12 +0000 (16:10 +0100)
commit70fbbedc247ea94d55c5b73e1fd2b2a907624a28
tree8682a1da986d3b7a226eaff35f6ae80307edb2c9
parent2afaff75edba5e06060ab1dcae5eb824c725aec9
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.

(cherry picked from commit 00f575e7ef8c94f5894fe8b669ef3817af8a105f)
bin/tests/system/serve-stale/tests.sh