diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 07:34:56 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 07:34:56 +0000 |
commit | 2098a11caf01a65cd23f0356a8e7a072fc547232 (patch) | |
tree | 3fc73ca04c032581e80a694d0e67aaad4484879b /base | |
parent | 45ce9e4497ddc6e51db257b36c31929125686746 (diff) | |
download | chromium_src-2098a11caf01a65cd23f0356a8e7a072fc547232.zip chromium_src-2098a11caf01a65cd23f0356a8e7a072fc547232.tar.gz chromium_src-2098a11caf01a65cd23f0356a8e7a072fc547232.tar.bz2 |
[GTTF] Make WatchdogTest.DisarmTest faster by about 2s
by really making the alarm instantly go off.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/377029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/watchdog_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/watchdog_unittest.cc b/base/watchdog_unittest.cc index 3ecfa7d..f16c564 100644 --- a/base/watchdog_unittest.cc +++ b/base/watchdog_unittest.cc @@ -114,7 +114,7 @@ TEST_F(WatchdogTest, DisarmTest) { // ...but even after disarming, we can still use the alarm... // Set a time greater than the timeout into the past. - watchdog.ArmSomeTimeDeltaAgo(TimeDelta::FromSeconds(2)); + watchdog.ArmSomeTimeDeltaAgo(TimeDelta::FromSeconds(10)); // It should almost instantly go off, but certainly in less than 5 minutes. SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), watchdog.alarm_counter() > 0); |