]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix flaky reclimit test by adding missing sleep
authorOndřej Surý <ondrej@sury.org>
Wed, 1 Apr 2026 17:19:50 +0000 (19:19 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 15 May 2026 06:02:56 +0000 (08:02 +0200)
commit80f04a9ee5cd90e875243a5ea991e28119bd546b
tree9fd3f19a2377cf1b724c6fae3454808bb67557f8
parentc7b53348fc8082a86d37fc9c7ce5bbecc63c5eb2
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.
bin/tests/system/reclimit/tests.sh