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

Issue 7304008: Ensure tests check the return of SpawnChild() when they may wait without timeouts (Closed)

Created:
9 years, 5 months ago by Ryan Sleevi
Modified:
9 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, brettw-cc_chromium.org, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

Ensure tests check the return of SpawnChild() when they may wait without timeouts Ensure that the result of SpawnChild() is consistently checked for unittests. If an child fails to launch, SpawnChild() will return base::kNullProcessHandle. Waiting on this handle is equivalent to waiting for any child to terminate - and if there are no children, this may wait indefinitely, causing the whole test executable to timeout after 10 minutes. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91430

Patch Set 1 #

Patch Set 2 : Mac compile fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M base/shared_memory_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/process_watcher_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/sandbox_mac_diraccess_unittest.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/sandbox_mac_unittest_helper.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Ryan Sleevi
brettw: Since you're an OWNER in both, would you mind taking a look? I'm using ...
9 years, 5 months ago (2011-07-01 23:43:32 UTC) #1
brettw
LGTM
9 years, 5 months ago (2011-07-02 15:47:20 UTC) #2
commit-bot: I haz the power
Try job failure for 7304008-2002 (retry) on mac for step "compile" (clobber build). It's a ...
9 years, 5 months ago (2011-07-02 19:44:24 UTC) #3
commit-bot: I haz the power
9 years, 5 months ago (2011-07-02 22:01:16 UTC) #4
Change committed as 91430

Powered by Google App Engine
This is Rietveld 408576698