Bug 1626089 - Run two wpt processes in CI, r=jmaher

This runs wpt with --processes=2 in CI, excluding wdspec tests where this
causes obvious test failures and android where we can't have more than a
single instance. This should provide some speedup at the cost of possibly
increased instability. So following landing this it will be necessary to
look out for an increased rate of intermittents.

Differential Revision: https://phabricator.services.mozilla.com/D68885

--HG--
extra : moz-landing-system : lando
This commit is contained in:
James Graham 2020-03-30 23:03:12 +00:00
Родитель 108ccd5e61
Коммит 4d6e03604e
8 изменённых файлов: 6 добавлений и 7 удалений

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

@ -14,7 +14,6 @@ ADJUST_MOUSE_AND_SCREEN = False
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

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

@ -8,7 +8,6 @@ import os
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

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

@ -14,7 +14,6 @@ ADJUST_MOUSE_AND_SCREEN = False
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

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

@ -18,7 +18,6 @@ ADJUST_MOUSE_AND_SCREEN = True
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

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

@ -28,7 +28,6 @@ TASKBAR_AUTOHIDE_REG_PATH = {
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

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

@ -7,7 +7,6 @@
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

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

@ -9,7 +9,6 @@ import sys
config = {
"options": [
"--prefs-root=%(test_path)s/prefs",
"--processes=1",
"--config=%(test_path)s/wptrunner.ini",
"--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
"--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",

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

@ -226,6 +226,12 @@ class WebPlatformTest(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidM
"--instrument-to-file=%s" % os.path.join(dirs["abs_blob_upload_dir"],
"wpt_instruments.txt")]
if self.is_android or "wdspec" in test_types:
processes = 1
else:
processes = 2
cmd.append("--processes=%s" % processes)
if self.is_android:
cmd += ["--device-serial=%s" % self.device_serial,
"--package-name=%s" % self.query_package_name()]