diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-19 21:07:40 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-19 21:07:40 +0000 |
commit | ae0ba2c44fb60fc3abb3f36d0747dac6472e100d (patch) | |
tree | 04f04866203cd2319794b23af6c646230f49b098 /chrome | |
parent | 24c62dc78b5f53498de7962b4da83f7f4de50259 (diff) | |
download | chromium_src-ae0ba2c44fb60fc3abb3f36d0747dac6472e100d.zip chromium_src-ae0ba2c44fb60fc3abb3f36d0747dac6472e100d.tar.gz chromium_src-ae0ba2c44fb60fc3abb3f36d0747dac6472e100d.tar.bz2 |
Increase timeout in url_fetchet to make it more
friendly when running in purify.
Review URL: http://codereview.chromium.org/139004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/net/url_fetcher_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/net/url_fetcher_unittest.cc b/chrome/browser/net/url_fetcher_unittest.cc index b5f8383..cf40ac6 100644 --- a/chrome/browser/net/url_fetcher_unittest.cc +++ b/chrome/browser/net/url_fetcher_unittest.cc @@ -304,7 +304,7 @@ void URLFetcherCancelTest::CreateFetcher(const GURL& url) { fetcher_->set_io_loop(&io_loop_); fetcher_->Start(); // Make sure we give the IO thread a chance to run. - timer_.Start(TimeDelta::FromMilliseconds(100), this, + timer_.Start(TimeDelta::FromMilliseconds(300), this, &URLFetcherCancelTest::CancelRequest); } @@ -324,7 +324,7 @@ void URLFetcherCancelTest::CancelRequest() { delete fetcher_; timer_.Stop(); // Make sure we give the IO thread a chance to run. - timer_.Start(TimeDelta::FromMilliseconds(100), this, + timer_.Start(TimeDelta::FromMilliseconds(300), this, &URLFetcherCancelTest::TestContextReleased); } |