From: Lucas Di Pentima Date: Tue, 5 Mar 2024 22:25:31 +0000 (-0300) Subject: 21461: Improves memory management when running tests in "open" mode. X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/78ba2ad766885dd8ed2f75c4b4466d894b328dbf 21461: Improves memory management when running tests in "open" mode. This couple of settings improve both Electron & Firefox behaviors when running in "interactive" (open) mode. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/services/workbench2/cypress.config.ts b/services/workbench2/cypress.config.ts index aaeb876784..d5698b0bfb 100644 --- a/services/workbench2/cypress.config.ts +++ b/services/workbench2/cypress.config.ts @@ -18,5 +18,8 @@ export default defineConfig({ }, baseUrl: 'https://localhost:3000/', experimentalRunAllSpecs: true, + // The 2 options below make Electron crash a lot less and Firefox behave better + experimentalMemoryManagement: true, + numTestsKeptInMemory: 0, }, })