Merge "Loosen up sys_time.gettimeofday."
This commit is contained in:
commit
8fd5bc0ccb
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue