Commit fdef8986 authored by Xiyuan Xia's avatar Xiyuan Xia Committed by Commit Bot

Run content_unittests in single process mash instead of mash

Bug: 866942
Change-Id: I98736af3ee98fde639b0aac6cd6ffb052802f22e
Reviewed-on: https://chromium-review.googlesource.com/1180414Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584755}
parent 5f14f27f
...@@ -563,9 +563,9 @@ ...@@ -563,9 +563,9 @@
}, },
{ {
"args": [ "args": [
"--enable-features=Mash" "--enable-features=SingleProcessMash"
], ],
"name": "mash_content_unittests", "name": "single_process_mash_content_unittests",
"swarming": { "swarming": {
"can_use_on_swarming_builders": true "can_use_on_swarming_builders": true
}, },
...@@ -1218,9 +1218,9 @@ ...@@ -1218,9 +1218,9 @@
}, },
{ {
"args": [ "args": [
"--enable-features=Mash" "--enable-features=SingleProcessMash"
], ],
"name": "mash_content_unittests", "name": "single_process_mash_content_unittests",
"swarming": { "swarming": {
"can_use_on_swarming_builders": true "can_use_on_swarming_builders": true
}, },
......
...@@ -1474,9 +1474,9 @@ ...@@ -1474,9 +1474,9 @@
}, },
{ {
"args": [ "args": [
"--enable-features=Mash" "--enable-features=SingleProcessMash"
], ],
"name": "mash_content_unittests", "name": "single_process_mash_content_unittests",
"swarming": { "swarming": {
"can_use_on_swarming_builders": true "can_use_on_swarming_builders": true
}, },
......
...@@ -4626,9 +4626,9 @@ ...@@ -4626,9 +4626,9 @@
}, },
{ {
"args": [ "args": [
"--enable-features=Mash" "--enable-features=SingleProcessMash"
], ],
"name": "mash_content_unittests", "name": "single_process_mash_content_unittests",
"swarming": { "swarming": {
"can_use_on_swarming_builders": true "can_use_on_swarming_builders": true
}, },
...@@ -5280,9 +5280,9 @@ ...@@ -5280,9 +5280,9 @@
}, },
{ {
"args": [ "args": [
"--enable-features=Mash" "--enable-features=SingleProcessMash"
], ],
"name": "mash_content_unittests", "name": "single_process_mash_content_unittests",
"swarming": { "swarming": {
"can_use_on_swarming_builders": true "can_use_on_swarming_builders": true
}, },
......
...@@ -1718,10 +1718,10 @@ ...@@ -1718,10 +1718,10 @@
'shards': 10, 'shards': 10,
}, },
}, },
'mash_content_unittests': { 'single_process_mash_content_unittests': {
'test': 'content_unittests', 'test': 'content_unittests',
'args': [ 'args': [
'--enable-features=Mash', '--enable-features=SingleProcessMash',
], ],
}, },
}, },
......
...@@ -41,7 +41,7 @@ AuraTestSuiteSetup::AuraTestSuiteSetup() { ...@@ -41,7 +41,7 @@ AuraTestSuiteSetup::AuraTestSuiteSetup() {
DCHECK(!Env::HasInstance()); DCHECK(!Env::HasInstance());
#if BUILDFLAG(ENABLE_MUS) #if BUILDFLAG(ENABLE_MUS)
const Env::Mode env_mode = const Env::Mode env_mode =
features::IsAshInBrowserProcess() ? Env::Mode::LOCAL : Env::Mode::MUS; features::IsUsingWindowService() ? Env::Mode::MUS : Env::Mode::LOCAL;
env_ = Env::CreateInstance(env_mode); env_ = Env::CreateInstance(env_mode);
if (env_mode == Env::Mode::MUS) if (env_mode == Env::Mode::MUS)
ConfigureMus(); ConfigureMus();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment