summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-12-18 16:34:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-12-18 16:34:46 +0000
commit22549b331ca1ecff0c136caed7ca51a8b26a6874 (patch)
tree03fefa6604c0a44fd01944cbb1a0e835eae7338e
parent9ea997a2ac4eeb26230e65d2b680ebff6fe0b8a4 (diff)
parent0dafa8a3a57e27cf8c38ea85f9a86f2007c06c74 (diff)
Merge "Increase 2ms to 5ms to reduce flake."
-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 16187ebeb..d033364b8 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) 2ms (2000us).
+ // Should be less than (a very generous, to try to avoid flakiness) 5ms (5000us).
ASSERT_EQ(0, tv2.tv_sec);
- ASSERT_LT(tv2.tv_usec, 2000);
+ ASSERT_LT(tv2.tv_usec, 5000);
}