bind9/bin/tests/system/reclimit
Ondřej Surý 0521f74bc4 Fix flaky reclimit test by adding missing sleep
The cache verification in steps 11 and 15 checks that the TTL has
decreased from its initial value to confirm the response was served
from cache, but the sleep between the two queries was missing. Both
queries could complete within the same second, leaving the TTL
unchanged and causing the test to incorrectly conclude the entry was
not cached.

(cherry picked from commit 80f04a9ee5)
2026-05-15 09:51:10 +02:00
..
ans2 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ans4 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ans7 Support Net::DNS::Nameserver 1.42 2024-01-03 11:57:59 +11:00
ns1 Tune many types tests in reclimit test 2025-03-14 05:29:35 +00:00
ns3 Disable DNSSEC validation instead of enabling it with empty TAs in tests 2025-07-06 21:09:40 +02:00
prereq.sh Reformat shell scripts with shfmt 2023-10-26 13:05:00 +02:00
README Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Add more tests for adding many RR types to the database 2024-07-01 15:04:43 +02:00
tests.sh Fix flaky reclimit test by adding missing sleep 2026-05-15 09:51:10 +02:00
tests_sh_reclimit.py Use pytest.mark.flaky as the flaky marker 2025-07-07 14:34:48 +02:00

Copyright (C) Internet Systems Consortium, Inc. ("ISC")

SPDX-License-Identifier: MPL-2.0

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0.  If a copy of the MPL was not distributed with this
file, you can obtain one at https://mozilla.org/MPL/2.0/.

See the COPYRIGHT file distributed with this work for additional
information regarding copyright ownership.

system test for recursion limits

ns1  -- root server
ans2 -- for example.org: delegate to ns1.(n+1).example.org for all n, up to the
                         value specified in ans.limit (or forever if limit is 0)
ns3  -- resolver under test
ans4 -- for ns*.example.com: return address records.
ans7 -- "victim" server