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

Issue 12314043: Make Ash unittests clean up zombie viewer processes between test runs. These zombie viewer proce… (Closed)

Created:
7 years, 10 months ago by robertshield
Modified:
7 years, 9 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, grt+watch_chromium.org, amit, erikwright+watch_chromium.org
Visibility:
Public.

Description

Make Ash unittests clean up zombie viewer processes between test runs. These zombie viewer processes seem to be a side effect of attempting to quit a metro app while the same app is activating. *while here can mean within a certain number of seconds due to metro life cycle management. Refactor KillAllNamedProcessesWithArgument into base/test. BUG=154081 TEST=Run "ash_unittests.exe --ash-metro-tests" on Win8. Observe that 417 chrome.exe processes do not get created :) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184413

Patch Set 1 #

Patch Set 2 : Cleanup. #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Brett's feedback. #

Patch Set 6 : "Add missing test_scrubber.cc change." #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -160 lines) Patch
M ash/test/ash_test_base.cc View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M base/base.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A base/test/test_process_killer_win.h View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A base/test/test_process_killer_win.cc View 1 2 3 4 1 chunk +165 lines, -0 lines 1 comment Download
M chrome_frame/test/chrome_frame_automation_mock.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/test/mock_ie_event_sink_actions.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/test/test_scrubber.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome_frame/test_utils.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome_frame/test_utils.cc View 3 chunks +0 lines, -149 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
robertshield
PTAL, thanks! Ananta -> chrome_frame/ Brett -> base/ Scott -> ash/
7 years, 10 months ago (2013-02-21 19:37:34 UTC) #1
ananta
ChromeFrame changes LGTM
7 years, 10 months ago (2013-02-22 19:17:02 UTC) #2
brettw
I'm trying hard to avoid _util files since you have no idea looking at a ...
7 years, 10 months ago (2013-02-22 20:31:01 UTC) #3
robertshield
Thanks Brett, renamed files, added namespace, changed comment. PTAL https://codereview.chromium.org/12314043/diff/2002/base/test/test_process_util_win.h File base/test/test_process_util_win.h (right): https://codereview.chromium.org/12314043/diff/2002/base/test/test_process_util_win.h#newcode11 base/test/test_process_util_win.h:11: ...
7 years, 10 months ago (2013-02-22 21:10:41 UTC) #4
brettw
base addition LGTM, but I didn't look at the added code at all.
7 years, 10 months ago (2013-02-22 21:21:24 UTC) #5
sky
LGTM
7 years, 10 months ago (2013-02-22 21:24:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/12314043/16
7 years, 10 months ago (2013-02-22 21:56:29 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-22 23:44:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/12314043/14005
7 years, 10 months ago (2013-02-25 02:46:25 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=115061
7 years, 10 months ago (2013-02-25 04:00:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/12314043/14005
7 years, 10 months ago (2013-02-25 13:37:40 UTC) #11
commit-bot: I haz the power
Change committed as 184413
7 years, 10 months ago (2013-02-25 16:01:46 UTC) #12
Timur Iskhodzhanov
https://chromiumcodereview.appspot.com/12314043/diff/14005/base/test/test_process_killer_win.cc File base/test/test_process_killer_win.cc (right): https://chromiumcodereview.appspot.com/12314043/diff/14005/base/test/test_process_killer_win.cc#newcode162 base/test/test_process_killer_win.cc:162: return base::KillProcesses(process_name, 0, &ArgumentFilter(argument)); I think this is a ...
7 years, 9 months ago (2013-03-18 22:28:47 UTC) #13
robertshield
7 years, 9 months ago (2013-03-19 00:25:22 UTC) #14
Message was sent while issue was closed.
On 2013/03/18 22:28:47, Timur Iskhodzhanov wrote:
>
https://chromiumcodereview.appspot.com/12314043/diff/14005/base/test/test_pro...
> File base/test/test_process_killer_win.cc (right):
> 
>
https://chromiumcodereview.appspot.com/12314043/diff/14005/base/test/test_pro...
> base/test/test_process_killer_win.cc:162: return
> base::KillProcesses(process_name, 0, &ArgumentFilter(argument));
> I think this is a buggy line:
> http://crbug.com/219360

I believe MSVC allows this (it's a non-standard compiler extension). I'll
standard-ify it in a follow up CL.

Powered by Google App Engine
This is Rietveld 408576698