diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 16:34:15 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 16:34:15 +0000 |
commit | 1789907fef5bd93036465d3645e63473d35dfeee (patch) | |
tree | b0eddb59df6d58bb8fffbe54500a143a9830f1ab /chrome/test/ui/ui_test.cc | |
parent | a6c59f62f69e4cc95e4918155a9f0017639039c2 (diff) | |
download | chromium_src-1789907fef5bd93036465d3645e63473d35dfeee.zip chromium_src-1789907fef5bd93036465d3645e63473d35dfeee.tar.gz chromium_src-1789907fef5bd93036465d3645e63473d35dfeee.tar.bz2 |
Increase timeouts in DieFileDie in hope to further reduce the flakiness.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/159548
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test.cc')
-rw-r--r-- | chrome/test/ui/ui_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc index fd5915b..98929dd 100644 --- a/chrome/test/ui/ui_test.cc +++ b/chrome/test/ui/ui_test.cc @@ -88,10 +88,10 @@ bool UITest::DieFileDie(const FilePath& file, bool recurse) { return true; // Sometimes Delete fails, so try a few more times. - for (int i = 0; i < 10; ++i) { + for (int i = 0; i < 25; ++i) { if (file_util::Delete(file, recurse)) return true; - PlatformThread::Sleep(sleep_timeout_ms() / 10); + PlatformThread::Sleep(action_max_timeout_ms() / 25); } return false; } |