DescriptionMandoline: 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 #
Messages
Total messages: 9 (3 generated)
|