Bug 1449587 - change the chunks that reftests run in to complete in more realistic runtimes and balance overhead + test time. r=ahal

This commit is contained in:
Joel Maher 2018-03-30 06:06:42 -04:00
Родитель 1314ee22b6
Коммит 23456f1a83
2 изменённых файлов: 7 добавлений и 12 удалений

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

@ -110,8 +110,8 @@ reftest:
android.*: 28
macosx64.*/opt: 1
macosx64.*/debug: 3
windows10-64.*/opt: 1
windows10-64.*/debug: 2
windows.*/opt: 2
windows.*/debug: 4
default: 8
e10s:
by-test-platform:
@ -138,7 +138,10 @@ reftest-gpu:
description: "Reftest GPU run"
suite: reftest/reftest-gpu
treeherder-symbol: R(Rg)
chunks: 8
chunks:
by-test-platform:
windows.*/opt: 2
default: 4
run-on-projects:
by-test-platform:
windows10.*: []
@ -162,6 +165,7 @@ reftest-no-accel:
chunks:
by-test-platform:
macosx.*: 1
windows.*: 4
default: 8
e10s:
by-test-platform:

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

@ -766,15 +766,6 @@ def split_chunks(config, tests):
yield test
continue
# HACK: Bug 1373578 appears to pass with more chunks, non-e10s only though
if test['test-platform'] == 'windows7-32/debug' and test['test-name'] == 'reftest':
test['chunks'] = 32
if (test['test-platform'] == 'windows7-32/opt' or
test['test-platform'] == 'windows7-32-pgo/opt') and \
test['test-name'] in ['reftest-e10s', 'reftest-no-accel-e10s', 'reftest-gpu-e10s']:
test['chunks'] = 32
for this_chunk in range(1, test['chunks'] + 1):
# copy the test and update with the chunk number
chunked = copy.deepcopy(test)