mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Adjust acceptable count values
usleep(100000) can be slightly less than 10ms so allow the count to reach 11.
This commit is contained in:
parent
efacee3d09
commit
2bc454dc2d
@ -261,7 +261,11 @@ dns_dbfind_staleok_test(void **state) {
|
||||
DNS_DBFIND_STALEOK, 0, &node, found,
|
||||
&rdataset, NULL);
|
||||
} while (result == ISC_R_SUCCESS);
|
||||
assert_in_range(count, 1, 10);
|
||||
/*
|
||||
* usleep(100000) can be slightly less than 10ms so
|
||||
* allow the count to reach 11.
|
||||
*/
|
||||
assert_in_range(count, 1, 11);
|
||||
assert_int_equal(result, ISC_R_NOTFOUND);
|
||||
break;
|
||||
case 2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user