]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix fetchlimit test failure
authorEvan Hunt <each@isc.org>
Tue, 3 Mar 2026 06:29:20 +0000 (22:29 -0800)
committerColin Vidal <colin@isc.org>
Mon, 30 Mar 2026 18:41:13 +0000 (20:41 +0200)
commitcd4a7a2d72737a992d80bcb9c4bfd30a97e5cbeb
treec599930bfbd1a9ebcb81d9d332bdb7440922e239
parentd1ea49cef9c4d9070ec767c94f2739caf4e158ac
Fix fetchlimit test failure

When a referral lookup is triggered by a QMIN query, it should be
exempt from the fetches-per-zone limit just as the QMIN query itself
is.

Also restart the test server between the fetches-per-server and
fetches-per-zone tests so that leftover statistics from the former
do not pollute the latter.

Another fix is because zone spills and general query drops are no longer
in a strict >= relation (on a parent-centric resolver), so check that
both counters are non-zero instead.
bin/tests/system/fetchlimit/tests.sh
lib/dns/resolver.c