diff options
Diffstat (limited to 'deps/uv/test/test-hrtime.c')
-rw-r--r-- | deps/uv/test/test-hrtime.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/deps/uv/test/test-hrtime.c b/deps/uv/test/test-hrtime.c index fbe9a68bfc..9d461d9623 100644 --- a/deps/uv/test/test-hrtime.c +++ b/deps/uv/test/test-hrtime.c @@ -41,13 +41,11 @@ TEST_IMPL(hrtime) { diff = b - a; - /* printf("i= %d diff = %llu\n", i, (unsigned long long int) diff); */ - /* The windows Sleep() function has only a resolution of 10-20 ms. Check - * that the difference between the two hrtime values is somewhat in the - * range we expect it to be. */ + * that the difference between the two hrtime values has a reasonable + * lower bound. + */ ASSERT(diff > (uint64_t) 25 * NANOSEC / MILLISEC); - ASSERT(diff < (uint64_t) 80 * NANOSEC / MILLISEC); --i; } return 0; |