diff --git a/tests/sys_time_test.cpp b/tests/sys_time_test.cpp index bb142bc5f..18fbe105e 100644 --- a/tests/sys_time_test.cpp +++ b/tests/sys_time_test.cpp @@ -63,7 +63,7 @@ TEST(sys_time, gettimeofday) { tv2.tv_usec += 1000000; } - // Should be less than (a very generous, to try to avoid flakiness) 1000us. + // Should be less than (a very generous, to try to avoid flakiness) 2ms (2000us). ASSERT_EQ(0, tv2.tv_sec); - ASSERT_LT(tv2.tv_usec, 1000); + ASSERT_LT(tv2.tv_usec, 2000); }