Skip to content

Commit 9a73e0c

Browse files
authored
Always disable GPU when running tests (#1872)
* Always disable GPU when running tests Keep seeing crashes from gpu source so found threads suggesting we disable cpu always * Disable sandbox too
1 parent 0217b9f commit 9a73e0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.vscode-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ const launchArgs = [
4141
"--disable-crash-reporter",
4242
"--disable-workspace-trust",
4343
"--disable-telemetry",
44+
"--disable-gpu",
45+
"--disable-gpu-sandbox",
46+
"--disable-chromium-sandbox",
47+
"--no-xshm",
4448
];
4549
if (dataDir) {
4650
launchArgs.push("--user-data-dir", dataDir);
4751
}
48-
// GPU hardware acceleration not working on Darwin for intel
49-
if (process.platform === "darwin" && process.arch === "x64") {
50-
launchArgs.push("--disable-gpu");
51-
}
5252

5353
const installExtensions = [];
5454
const extensionDependencies = [];

0 commit comments

Comments
 (0)