зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
108ccd5e61
Коммит
4d6e03604e
|
@ -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()]
|
||||
|
|
Загрузка…
Ссылка в новой задаче