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

Issue 2813293003: Fix Mash Browser Test Startup Race (Closed)

Created:
3 years, 8 months ago by jonross
Modified:
3 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Mash Browser Test Startup Race MojoTestConnector initialized a BackgroundServiceManager at creation time. Later on it initializes mojo. Due to this, it was possible for BackgroundServiceManager to attempt to create mojo pipes for its catalog, before mojo has been initialized. Crashing the test suite. This change updates MojoTestConnector to delay the creation of BackgroundServiceManager until it has explicitly created the mojo pipe. TEST=mash_browser_tests BUG=678687 Review-Url: https://codereview.chromium.org/2813293003 Cr-Commit-Position: refs/heads/master@{#465217} Committed: https://chromium.googlesource.com/chromium/src/+/4b7194fc64ee783975d60d364cb4b3cdeca58bd4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -5 lines) Patch
M chrome/test/base/mojo_test_connector.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/test/base/mojo_test_connector.cc View 3 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
jonross
Hey sky@, Could you take a look at this review? I ran into a new ...
3 years, 8 months ago (2017-04-13 20:46:31 UTC) #2
sky
LGTM
3 years, 8 months ago (2017-04-17 16:57:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2813293003/1
3 years, 8 months ago (2017-04-18 13:19:10 UTC) #5
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 13:48:11 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/4b7194fc64ee783975d60d364cb4...

Powered by Google App Engine
This is Rietveld 408576698