mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04: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
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Reference in a new issue