diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 10:59:08 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 10:59:08 +0000 |
commit | f6fb3569cf3feab8e606294b9d57918436abca32 (patch) | |
tree | 828fb2182768724e6acc28c3074fb8e3146327ed | |
parent | 80ad3bbbf3ff9a4ffdaf259333b02bc96956ef0a (diff) | |
download | chromium_src-f6fb3569cf3feab8e606294b9d57918436abca32.zip chromium_src-f6fb3569cf3feab8e606294b9d57918436abca32.tar.gz chromium_src-f6fb3569cf3feab8e606294b9d57918436abca32.tar.bz2 |
Shrank iterations on BackgroundAppListModel.RandomTest
This test was creating hundreds of extensions and loading/unloading them, which takes quite a long time. Shrank the number of iterations from 500 to 20.
BUG=249966
Review URL: https://chromiumcodereview.appspot.com/17314011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208195 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/background/background_application_list_model_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/background/background_application_list_model_unittest.cc b/chrome/browser/background/background_application_list_model_unittest.cc index de09c28..0ae8476 100644 --- a/chrome/browser/background/background_application_list_model_unittest.cc +++ b/chrome/browser/background/background_application_list_model_unittest.cc @@ -355,7 +355,7 @@ TEST_F(BackgroundApplicationListModelTest, RandomTest) { new BackgroundApplicationListModel(profile_.get())); ASSERT_EQ(0U, model->size()); - static const int kIterations = 500; + static const int kIterations = 20; ExtensionCollection extensions; size_t count = 0; size_t expected = 0; |