Bug 1602832 - P2: Create 'socketprocess_networking' test variant r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D58112
This commit is contained in:
Kershaw Chang 2020-05-26 14:30:16 +00:00
Родитель eb032f3176
Коммит 9fe6da812b
3 изменённых файлов: 16 добавлений и 2 удалений

Просмотреть файл

@ -89,6 +89,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:

Просмотреть файл

@ -206,6 +206,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',
],
}
}
}
}
@ -1304,7 +1317,7 @@ def ensure_spi_disabled_on_all_but_spi(config, tasks):
'junit' not in task['suite'] and
'raptor' not in task['suite'])
if has_setpref and variant != 'socketprocess':
if has_setpref and variant != 'socketprocess' and variant != 'socketprocess_networking':
task['mozharness']['extra-options'].append(
'--setpref=media.peerconnection.mtransport_process=false')
task['mozharness']['extra-options'].append(