diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 00:23:16 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 00:23:16 +0000 |
commit | acaae862120b887d04432fd81e2c2c47cbd1256c (patch) | |
tree | 6310ca20ff378193d97f025681056a92c5cbb9ea /base/time_unittest.cc | |
parent | b55aaa67d96309c6dd983d8cf8cfaad723174567 (diff) | |
download | chromium_src-acaae862120b887d04432fd81e2c2c47cbd1256c.zip chromium_src-acaae862120b887d04432fd81e2c2c47cbd1256c.tar.gz chromium_src-acaae862120b887d04432fd81e2c2c47cbd1256c.tar.bz2 |
Reduce number of iterations on TimeTicks.Deltas test
so that unittests run faster.
BUG=22061
TEST=this is the test
Review URL: http://codereview.chromium.org/462010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time_unittest.cc')
-rw-r--r-- | base/time_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/time_unittest.cc b/base/time_unittest.cc index f8a62cb..81daab0 100644 --- a/base/time_unittest.cc +++ b/base/time_unittest.cc @@ -91,7 +91,7 @@ TEST(Time, LocalMidnight) { } TEST(TimeTicks, Deltas) { - for (int index = 0; index < 500; index++) { + for (int index = 0; index < 50; index++) { TimeTicks ticks_start = TimeTicks::Now(); PlatformThread::Sleep(10); TimeTicks ticks_stop = TimeTicks::Now(); |