Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Issue 209018: linux: expose the ProcessSingleton timeout to speed tests (Closed)

Created:
11 years, 3 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

linux: expose the ProcessSingleton timeout to speed tests We have a 20-second timeout normally, but for testing purposes 1 second is plenty.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -3 lines) Patch
M chrome/browser/process_singleton.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/process_singleton_linux.cc View 3 chunks +7 lines, -2 lines 2 comments Download
M chrome/browser/process_singleton_linux_uitest.cc View 1 chunk +3 lines, -1 line 1 comment Download

Messages

Total messages: 6 (0 generated)
Evan Martin
11 years, 3 months ago (2009-09-17 19:43:02 UTC) #1
Paweł Hajdan Jr.
After fixing the nits, LGTM. Thanks! http://codereview.chromium.org/209018/diff/1/3 File chrome/browser/process_singleton_linux.cc (right): http://codereview.chromium.org/209018/diff/1/3#newcode630 Line 630: return NotifyOtherProcessWithTimeout(kTimeoutInSeconds ...
11 years, 3 months ago (2009-09-17 19:45:56 UTC) #2
Evan Stade
I think maybe this will fix bug 22098.
11 years, 3 months ago (2009-09-17 20:15:58 UTC) #3
Evan Martin
http://codereview.chromium.org/209018/diff/1/3 File chrome/browser/process_singleton_linux.cc (right): http://codereview.chromium.org/209018/diff/1/3#newcode630 Line 630: return NotifyOtherProcessWithTimeout(kTimeoutInSeconds /* seconds */); On 2009/09/17 19:45:56, ...
11 years, 3 months ago (2009-09-17 20:37:13 UTC) #4
dank
Just curious, will this behave nicely under valgrind, where things is slow?
11 years, 3 months ago (2009-09-17 21:17:33 UTC) #5
Evan Martin
11 years, 3 months ago (2009-09-17 21:21:43 UTC) #6
On 2009/09/17 21:17:33, dank wrote:
> Just curious, will this behave nicely under valgrind, where things is slow?

I upped the timeout to 3 seconds on Pawel's request.  I guess we'll find out...
:\

Powered by Google App Engine
This is Rietveld 408576698