Temporarily disable the browser-tests in Google Chrome on the Windows bot
Either the latest Chromium update, the latest Puppeteer update, or a combination of them both are now causing the Windows bot to timeout during the browser-tests. To unblock both the updates and other improvements (i.e. the `structuredClone` polyfill), let's simply disable the problematic configuration for now since this a Mozilla project after all.
This commit is contained in:
parent
7cc761a8c0
commit
d476186b9f
10
gulpfile.js
10
gulpfile.js
@ -555,11 +555,19 @@ function createTestSource(testsName, { bot = false, xfaOnly = false } = {}) {
|
|||||||
console.log("### Running " + testsName + " tests");
|
console.log("### Running " + testsName + " tests");
|
||||||
|
|
||||||
const PDF_TEST = process.env.PDF_TEST || "test_manifest.json";
|
const PDF_TEST = process.env.PDF_TEST || "test_manifest.json";
|
||||||
|
let forceNoChrome = false;
|
||||||
const args = ["test.js"];
|
const args = ["test.js"];
|
||||||
switch (testsName) {
|
switch (testsName) {
|
||||||
case "browser":
|
case "browser":
|
||||||
if (!bot) {
|
if (!bot) {
|
||||||
args.push("--reftest");
|
args.push("--reftest");
|
||||||
|
} else {
|
||||||
|
const os = process.env.OS;
|
||||||
|
if (/windows/i.test(os)) {
|
||||||
|
// The browser-tests are too slow in Google Chrome on the Windows
|
||||||
|
// bot, causing a timeout, hence disabling them for now.
|
||||||
|
forceNoChrome = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (xfaOnly) {
|
if (xfaOnly) {
|
||||||
args.push("--xfaOnly");
|
args.push("--xfaOnly");
|
||||||
@ -582,7 +590,7 @@ function createTestSource(testsName, { bot = false, xfaOnly = false } = {}) {
|
|||||||
if (bot) {
|
if (bot) {
|
||||||
args.push("--strictVerify");
|
args.push("--strictVerify");
|
||||||
}
|
}
|
||||||
if (process.argv.includes("--noChrome")) {
|
if (process.argv.includes("--noChrome") || forceNoChrome) {
|
||||||
args.push("--noChrome");
|
args.push("--noChrome");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user