forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to fix the flakiness on the win8 builder on the waterfall.
There appear to be cases where in the metro viewer chrome process does not exit causing subsequent ash tests to fail. One of the errors we have seen in this context is E_APPLICATION_ACTIVATION_TIMED_OUT. Currently ash_unittests does not clean shutdown the viewer. It closes the channel and terminates the viewer process via TerminateProcess. That call could fail if the viewer process has a thread in the kernel stack which could lead to subsequent tests to fail. Fix is to attempt a clean shutdown of the viewer process. For this we maintain the message filter for the lifetime of the MetroViewerProcessHost class. We signal an event when the channel is actually closed in the hosting process which should ensure that the viewer exits cleanly and also wait for the viewer to die. This code only executes for tests. BUG=340422 R=cpu@chromium.org, scottmg@chromium.org, cpu Review URL: https://codereview.chromium.org/203273008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259080 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
ananta@chromium.org
committed
Mar 25, 2014
1 parent
ade57ae
commit a58904c
Showing
2 changed files
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters