DescriptionOne BackgroundServerManager per MojoTestState
We cannot have a shared BackgroundServerManager across all MojoTestStates.
Currently the shared BackgroundServerManager is restarted when each child test
process connects to the parent. However when batching tests they all connect at
the start, before running the tests in sequence.
This change makes it so that MojoTestState owns a BackgroundServerManager and
creates it when the child connects. Thus allowing each test case to have its
own set of the mash services running. Without other test runs deleting them.
When a child process ends the TestState is destroyed, which will cleanup the
services.
BUG=678687
Review-Url: https://codereview.chromium.org/2903533003
Cr-Commit-Position: refs/heads/master@{#474992}
Committed: https://chromium.googlesource.com/chromium/src/+/f45dbb0e42abd0c94f144ecb6966893a17759c07
Patch Set 1 #Patch Set 2 : expand filter #Patch Set 3 : disable timeouts #Patch Set 4 : more timeouts #Patch Set 5 : disable browsertest #Patch Set 6 : Prep for review #Patch Set 7 : new failure #
Messages
Total messages: 15 (8 generated)
|