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

Issue 1229553002: Mandoline: ConnectToApplication and ConnectToService should fail gracefully (Closed)

Created:
5 years, 5 months ago by Fady Samuel
Modified:
5 years, 5 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mandoline: ConnectToApplication and ConnectToService should fail gracefully It seems ApplicationImpl::ConnectToApplication and ApplicationImpl::ConnectToService are written mostly with the assumption that connections can always be established. However, late arriving connection requests can fail during tear down. This CL ensures that these methods fail gracefully. This fixes some test flakiness. My understanding of what's going on is the view_manager is running on one thread and the shell is running on another (presumably the test thread?). When the test completes, the shell goes away, but the view_manager is still running. BUG=496935 TBR=beng@chromium.org, sky@chromium.org Committed: https://crrev.com/d663b3298e865fbbe2d21ee2d6ca4a148096f103 Cr-Commit-Position: refs/heads/master@{#337663}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M components/view_manager/display_manager.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M mojo/application/public/cpp/application_impl.h View 1 chunk +4 lines, -1 line 0 comments Download
M mojo/application/public/cpp/lib/application_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
Fady Samuel
5 years, 5 months ago (2015-07-07 18:16:28 UTC) #2
msw
lgtm for a temporary workaround. I'm sure Ben, Scott or John will have a better ...
5 years, 5 months ago (2015-07-07 18:33:37 UTC) #4
Fady Samuel
On 2015/07/07 18:33:37, msw wrote: > lgtm for a temporary workaround. I'm sure Ben, Scott ...
5 years, 5 months ago (2015-07-07 18:35:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229553002/1
5 years, 5 months ago (2015-07-07 18:38:26 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-07 19:30:45 UTC) #8
commit-bot: I haz the power
5 years, 5 months ago (2015-07-07 19:31:35 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d663b3298e865fbbe2d21ee2d6ca4a148096f103
Cr-Commit-Position: refs/heads/master@{#337663}

Powered by Google App Engine
This is Rietveld 408576698