]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add another prefetch check in the resolver system test
authorAram Sargsyan <aram@isc.org>
Tue, 18 Oct 2022 13:06:19 +0000 (13:06 +0000)
committerAram Sargsyan <aram@isc.org>
Fri, 21 Oct 2022 10:30:13 +0000 (10:30 +0000)
commit822dd7b8b9737eb95964d367a04ee9d7f875ece5
tree1b07f8f1f2d2e5f1e663161436f61169466b4f2a
parent64fa7d03605ea226f96868eb193a2c56bfd7f666
Add another prefetch check in the resolver system test

The test triggers a prefetch, but fails to check if it acutally
happened, which prevented it from catching a bug when the record's
TTL value matches the configured prefetch eligibility value.

Check that prefetch happened by comparing the TTL values.

(cherry picked from commit 89fa9a65927eb0542afaef55714d77953f09f0e0)
bin/tests/system/resolver/ns4/tld2.db
bin/tests/system/resolver/tests.sh