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:
parent
d003949cdb
commit
3012e1ad9b
@ -211,7 +211,7 @@ dns_dbfind_staleok_test(void **state) {
|
|||||||
count = 0;
|
count = 0;
|
||||||
do {
|
do {
|
||||||
count++;
|
count++;
|
||||||
assert_in_range(count, 0, 20); /* loop sanity */
|
assert_in_range(count, 1, 21); /* loop sanity */
|
||||||
assert_int_equal(rdataset.attributes &
|
assert_int_equal(rdataset.attributes &
|
||||||
DNS_RDATASETATTR_STALE,
|
DNS_RDATASETATTR_STALE,
|
||||||
0);
|
0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user