2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Extend loop count by 1 to account for non-exact timing in usleep().

This commit is contained in:
Mark Andrews 2020-05-18 13:45:10 +10:00
parent d003949cdb
commit 3012e1ad9b

View File

@ -211,7 +211,7 @@ dns_dbfind_staleok_test(void **state) {
count = 0;
do {
count++;
assert_in_range(count, 0, 20); /* loop sanity */
assert_in_range(count, 1, 21); /* loop sanity */
assert_int_equal(rdataset.attributes &
DNS_RDATASETATTR_STALE,
0);