Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test: allow 80 ms intervals in hrtime test

The hrtimer functionality on my FreeBSD 9 system is fairly coarse, it's usually
just over the 60 ms that we tested for before this commit.
  • Loading branch information...
commit 68b0c85c0958e7b057c28c2ef0c50dfb632a28aa 1 parent 5031a5b
Ben Noordhuis bnoordhuis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/test-hrtime.c
2  test/test-hrtime.c
View
@@ -47,7 +47,7 @@ TEST_IMPL(hrtime) {
/* Check that the difference between the two hrtime values is somewhat in */
/* the range we expect it to be. */
ASSERT(diff > (uint64_t) 25 * NANOSEC / MILLISEC);
- ASSERT(diff < (uint64_t) 60 * NANOSEC / MILLISEC);
+ ASSERT(diff < (uint64_t) 80 * NANOSEC / MILLISEC);
--i;
}
return 0;
Please sign in to comment.
Something went wrong with that request. Please try again.