Add OnChannelError() handler to QuitListener rather than hang on close.
Without an OnChannelError() handler on the QuitListener, the test can hang if the IPC channel disconnects before the Quit message is received. Adding an explicit handler will make it easier to diagnose this failure mode. Also migrates DCHECK()s in some existing OnChannelError() handlers in tests to use CHECK(), to avoid those tests potentially hanging in Release builds. Bug: 816606, 816620, 764015 Change-Id: Ibe6ffc7ecd02f6029c74a7b3c1190030b656056f Reviewed-on: https://chromium-review.googlesource.com/936427Reviewed-by:Ken Rockot <rockot@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#539262}
Showing
Please register or sign in to comment