forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up the PolicyPrefIndicatorTest browser test
This CL speeds up the PolicyPrefIndicatorTest test by an order of magnitude by executing the test cases in chunks of 50 each. It would be possible to execute all test cases in one go. However, this takes 17 seconds on a fast Linux machine. On some of the slower bots, it may exceed the 30 second timeout. Breaking the test cases into chunks reduces the maximum run time per chunk to 11 seconds on said Linux machine. If the tests still end up flaking, the chunk size can easily be adjusted. With the chosen chunk size, the change in wall clock time needed by the tests is: Release: 7:54 minutes -> 14 seconds Debug: 13:11 minutes -> 42 seconds BUG=325205 TEST=Updated browser test Review URL: https://codereview.chromium.org/102333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238962 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
bartfab@chromium.org
committed
Dec 5, 2013
1 parent
d15a26d
commit 0466dcb
Showing
1 changed file
with
137 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters