mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1602832 - P2: Create 'socketprocess_networking' test variant r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58112
This commit is contained in:
parent
eda36941fd
commit
87223aa639
@ -86,6 +86,7 @@ treeherder:
|
||||
'X': 'Xpcshell tests'
|
||||
'X-1proc': 'Xpcshell tests, without e10s'
|
||||
'X-fis': 'Xpcshell tests with fission enabled'
|
||||
'X-spi-nw': 'Xpcshell tests with networking on socket process'
|
||||
'L10n': 'Localised Repacks'
|
||||
'L10n-Rpk': 'Localized Repackaged Repacks'
|
||||
'BM': 'Beetmover'
|
||||
|
@ -6,7 +6,7 @@ job-defaults:
|
||||
suite: xpcshell
|
||||
variants:
|
||||
by-test-platform:
|
||||
linux1804-64/debug: ['fission']
|
||||
linux1804-64/debug: ['fission', 'socketprocess_networking']
|
||||
default: ['fission']
|
||||
target:
|
||||
by-test-platform:
|
||||
|
@ -184,6 +184,19 @@ TEST_VARIANTS = {
|
||||
],
|
||||
}
|
||||
}
|
||||
},
|
||||
'socketprocess_networking': {
|
||||
'description': "{description} with networking on socket process enabled",
|
||||
'suffix': 'spi-nw',
|
||||
'merge': {
|
||||
'mozharness': {
|
||||
'extra-options': [
|
||||
'--setpref=network.process.enabled=true',
|
||||
'--setpref=network.http.network_access_on_socket_process.enabled=true',
|
||||
'--setpref=network.ssl_tokens_cache_enabled=true',
|
||||
],
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1226,7 +1239,7 @@ def ensure_spi_disabled_on_all_but_spi(config, tests):
|
||||
'junit' not in test['suite'] and
|
||||
'raptor' not in test['suite'])
|
||||
|
||||
if has_setpref and variant != 'socketprocess':
|
||||
if has_setpref and variant != 'socketprocess' and variant != 'socketprocess_networking':
|
||||
test['mozharness']['extra-options'].append(
|
||||
'--setpref=media.peerconnection.mtransport_process=false')
|
||||
test['mozharness']['extra-options'].append(
|
||||
|
Loading…
Reference in New Issue
Block a user