Skip to content

Commit d2cc37b

Browse files
committed
ci: keep Electron shared memory out of /dev/shm in the e2e example
1 parent 47bc248 commit d2cc37b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • examples/with-electron-and-walltime/apps/electron/test

‎examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ await bench(
3030
kind: "electron",
3131
appPath: path.join(appRoot, "out/main/index.js"),
3232
cwd: appRoot,
33+
// Keep Chromium's shared memory in /tmp: CI runners may lack /dev/shm.
34+
electronArgs: ["--disable-dev-shm-usage"],
3335
},
3436
beforeRound: async ({ page }) => {
3537
page.setDefaultTimeout(180_000);

0 commit comments

Comments
 (0)