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

Unified Diff: chrome/browser/memory/tab_manager_unittest.cc

Issue 2624063002: Stop suspending renderer and changing purge interval to 20min (Closed)
Patch Set: Fixed unit_tests failure. Created 3 years, 11 months 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
Index: chrome/browser/memory/tab_manager_unittest.cc
diff --git a/chrome/browser/memory/tab_manager_unittest.cc b/chrome/browser/memory/tab_manager_unittest.cc
index f3a38385ce0f9d44e2ee7e2cf380b68e2f93735f..59b93b6cec30027077c4c3b79573c61c3c5583ad 100644
--- a/chrome/browser/memory/tab_manager_unittest.cc
+++ b/chrome/browser/memory/tab_manager_unittest.cc
@@ -704,7 +704,7 @@ TEST_F(TabManagerTest, NextPurgeAndSuspendState) {
tab_manager.GetWebContentsData(test_contents)
->SetLastPurgeAndSuspendModifiedTimeForTesting(test_clock.NowTicks());
- test_clock.Advance(base::TimeDelta::FromSeconds(120));
+ test_clock.Advance(base::TimeDelta::FromSeconds(1200));
EXPECT_EQ(TabManager::SUSPENDED,
tab_manager.GetNextPurgeAndSuspendState(
test_contents, test_clock.NowTicks(), threshold));

Powered by Google App Engine
This is Rietveld 408576698