From f6fb3569cf3feab8e606294b9d57918436abca32 Mon Sep 17 00:00:00 2001 From: "atwilson@chromium.org" Date: Mon, 24 Jun 2013 10:59:08 +0000 Subject: 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 --- chrome/browser/background/background_application_list_model_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1