]> git.ipfire.org Git - thirdparty/bind9.git/commit
increase 1-second timeout in fetchlimit
authorEvan Hunt <each@isc.org>
Thu, 2 Sep 2021 16:11:02 +0000 (09:11 -0700)
committerEvan Hunt <each@isc.org>
Fri, 3 Sep 2021 06:24:57 +0000 (23:24 -0700)
commit6773c1144fac05014d2b0236a700d45986ab45bd
tree54276ff721a727b6197da990a42583bf71a81f95
parent0a3e398e0c17f87361772d5058966b844ae4c56c
increase 1-second timeout in fetchlimit

when "checking lame server clients are dropped below the hard limit",
periodically a query is sent for a name for which the server is
authoritative, to verify that legitimate queries can still be
processed while the server is dealing with a flood of lame delegation
queries. those queries used the same dig options as elsewhere in the
fetchlimit test, including "+tries=1 +timeout=1". on slow systems, a
1-second timeout may be insufficient to get an answer even if the server
is behaving well. this commit increases the timeout for the check
queries to 2 seconds in hopes that will be enough to eliminate test
failures in CI.

(cherry picked from commit 45f330339c640dc0c27101942a2a107fa1972dd4)
bin/tests/system/fetchlimit/tests.sh