Commit 3012e1ad authored by Mark Andrews's avatar Mark Andrews

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

parent d003949c
Pipeline #42270 passed with stages
in 28 minutes and 8 seconds
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment