]> git.ipfire.org Git - thirdparty/bind9.git/commit
Update the resolver unit test
authorAram Sargsyan <aram@isc.org>
Thu, 6 Jun 2024 19:58:57 +0000 (19:58 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Thu, 1 Aug 2024 19:23:06 +0000 (19:23 +0000)
commitfa15c1fb232e7e91f47808069b1ab22016a3f386
treeb0fa5d74c1a8843b7acf70c6112e63e45cab9502
parent2788b99ee1b1ec27b79d06024fbf12140d37d499
Update the resolver unit test

Before there was a gap from 301 to 9999 which would be converted
to 10000 and now there is no such gap.

This settimeout_belowmin test was checking the behavior of a value
in the gap. As there is now no gap left, the minimum is 301 and
anything below that is converted to seconds as before. In order
for this check to still test the "below minimum" behavior, change
the value from 9000 to 300.

Update the settimeout_overmax value test too so it logically aligns
with the minimum value test.

(cherry picked from commit 63b787effe3171c87a526c60ab9766a1e6a52bf1)
tests/dns/resolver_test.c