Merge "Loosen up sys_time.gettimeofday."

This commit is contained in:
Elliott Hughes 2016-01-22 03:19:20 +00:00 committed by Gerrit Code Review
commit 8fd5bc0ccb
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ TEST(sys_time, gettimeofday) {
tv2.tv_usec += 1000000; 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_EQ(0, tv2.tv_sec);
ASSERT_LT(tv2.tv_usec, 1000); ASSERT_LT(tv2.tv_usec, 2000);
} }