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

Unified Diff: components/component_updater/configurator_impl_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 | « components/component_updater/configurator_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/component_updater/configurator_impl_unittest.cc
diff --git a/components/component_updater/configurator_impl_unittest.cc b/components/component_updater/configurator_impl_unittest.cc
index cf4ddeda3288f0dc083b3469175bf2301e4305b6..ec0c1cdffeda2d008a05b901227740a00b0763cf 100644
--- a/components/component_updater/configurator_impl_unittest.cc
+++ b/components/component_updater/configurator_impl_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -44,7 +44,7 @@ TEST_F(ComponentUpdaterConfiguratorImplTest, FastUpdate) {
cmdline.AppendSwitchASCII("--component-updater", "fast-update");
config.reset(new ConfiguratorImpl(&cmdline, nullptr, false));
CHECK_EQ(10, config->InitialDelay());
- CHECK_EQ(kDelayOneMinute, config->NextCheckDelay());
+ CHECK_EQ(6 * kDelayOneHour, config->NextCheckDelay());
CHECK_EQ(1, config->StepDelay());
CHECK_EQ(2, config->OnDemandDelay());
CHECK_EQ(10, config->UpdateDelay());
« no previous file with comments | « components/component_updater/configurator_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698