diff options
author | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-30 21:19:15 +0000 |
---|---|---|
committer | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-30 21:19:15 +0000 |
commit | a6f19c69377a4aa9e4441ec49779b0632936b8cd (patch) | |
tree | a3bfcea59bf4d5f6ae95de0a67dbe1b4833f466c /base/process_util_unittest.cc | |
parent | 60f0a6d149e5dbd89706aa0c4cb0999ba31fac29 (diff) | |
download | chromium_src-a6f19c69377a4aa9e4441ec49779b0632936b8cd.zip chromium_src-a6f19c69377a4aa9e4441ec49779b0632936b8cd.tar.gz chromium_src-a6f19c69377a4aa9e4441ec49779b0632936b8cd.tar.bz2 |
Processes take a long time to start if started via ssh,
as they now have to connect to the X server (not sure when
we added that, or where, but it's happening). In my case,
when running ProcessUtilTest.SpawnChild, it takes 1.7 seconds
after the main process starts waiting for the child
before the child finishes reading from the X server
and exits. So raise timeout from one second to five seconds.
Review URL: http://codereview.chromium.org/17022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_unittest.cc')
-rw-r--r-- | base/process_util_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/process_util_unittest.cc b/base/process_util_unittest.cc index 67c9500..92c623b 100644 --- a/base/process_util_unittest.cc +++ b/base/process_util_unittest.cc @@ -33,7 +33,7 @@ TEST_F(ProcessUtilTest, SpawnChild) { ProcessHandle handle = this->SpawnChild(L"SimpleChildProcess"); ASSERT_NE(static_cast<ProcessHandle>(NULL), handle); - EXPECT_TRUE(WaitForSingleProcess(handle, 1000)); + EXPECT_TRUE(WaitForSingleProcess(handle, 5000)); } MULTIPROCESS_TEST_MAIN(SlowChildProcess) { |