bind9/bin/tests/system/reclimit
Ondřej Surý 80f04a9ee5
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.
2026-05-15 08:02:56 +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 09:21:15 +11:00
ns1 Remove license headers from test zone files 2026-03-31 17:57:58 +02:00
ns3 Remove license headers from test zone files 2026-03-31 17:57:58 +02:00
prereq.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
README Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Replace .in with .j2 templates for cases with namedX.conf 2025-12-09 14:23:14 +01:00
tests.sh Fix flaky reclimit test by adding missing sleep 2026-05-15 08:02:56 +02:00
tests_sh_reclimit.py Use pytest.mark.flaky as the flaky marker 2025-07-07 13:29:15 +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