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

Unified Diff: chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc

Issue 2179593003: fast-update flag only accelerates the first component update check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fast-update
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | components/component_updater/configurator_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc b/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
index 6581d331a67bd263fd9d5118bfa19140e551e31c..f6c958f0aa97214aee0095afa16a15f2a9b6f119 100644
--- a/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
@@ -33,8 +33,8 @@ TEST(ChromeComponentUpdaterConfiguratorTest, TestFastUpdate) {
const auto config(MakeChromeComponentUpdaterConfigurator(&cmdline, nullptr));
- ASSERT_EQ(10, config->InitialDelay());
- CHECK_EQ(60, config->NextCheckDelay());
+ CHECK_EQ(10, config->InitialDelay());
+ CHECK_EQ(6 * 60 * 60, config->NextCheckDelay());
CHECK_EQ(1, config->StepDelay());
CHECK_EQ(2, config->OnDemandDelay());
CHECK_EQ(10, config->UpdateDelay());
« no previous file with comments | « no previous file | components/component_updater/configurator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698