]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix flaky reclimit test by adding missing sleep 12028/head
authorOndřej Surý <ondrej@isc.org>
Wed, 1 Apr 2026 17:19:50 +0000 (19:19 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 15 May 2026 07:51:10 +0000 (09:51 +0200)
commit0521f74bc44f4d3dd22c2236a5eba888c1017e8f
treebd667b68740facf85a670310b0ecf8bb30320c6d
parentf175d8c63bcb605b663bba56148cd2551a5721cf
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 80f04a9ee5cd90e875243a5ea991e28119bd546b)
bin/tests/system/reclimit/tests.sh