summaryrefslogtreecommitdiff
path: root/tests/sys_time_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sys_time_test.cpp')
-rw-r--r--tests/sys_time_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sys_time_test.cpp b/tests/sys_time_test.cpp
index d033364b8..5dda7ab35 100644
--- a/tests/sys_time_test.cpp
+++ b/tests/sys_time_test.cpp
@@ -147,7 +147,7 @@ TEST(sys_time, gettimeofday) {
tv2.tv_usec += 1000000;
}
- // Should be less than (a very generous, to try to avoid flakiness) 5ms (5000us).
+ // To try to avoid flakiness we'll accept answers within 10,000us (0.01s).
ASSERT_EQ(0, tv2.tv_sec);
- ASSERT_LT(tv2.tv_usec, 5000);
+ ASSERT_LT(tv2.tv_usec, 10'000);
}