Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: google_apis/gcm/engine/heartbeat_manager_unittest.cc

Issue 794303002: Increase HeartbeatManagerTest.UpdateTimerAfterStart test max time check to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/heartbeat_manager_unittest.cc
diff --git a/google_apis/gcm/engine/heartbeat_manager_unittest.cc b/google_apis/gcm/engine/heartbeat_manager_unittest.cc
index 9e8bc6db2ad518f32f5a21371797f89cd58de7b7..5f7a5fe0365ea597b5f3126b8ede31411e8372a1 100644
--- a/google_apis/gcm/engine/heartbeat_manager_unittest.cc
+++ b/google_apis/gcm/engine/heartbeat_manager_unittest.cc
@@ -190,7 +190,7 @@ TEST_F(HeartbeatManagerTest, UpdateTimerAfterStart) {
manager()->UpdateHeartbeatTimer(
make_scoped_ptr(new base::Timer(true, false)));
EXPECT_LT(manager()->GetNextHeartbeatTime() - heartbeat,
- base::TimeDelta::FromMilliseconds(1));
+ base::TimeDelta::FromMilliseconds(5));
}
// Stopping the manager should reset the heartbeat timer.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698