diff --git a/scripts/tests/install-script.test.js b/scripts/tests/install-script.test.js index 0f70578f01b..a83a54292d6 100644 --- a/scripts/tests/install-script.test.js +++ b/scripts/tests/install-script.test.js @@ -531,7 +531,10 @@ describe('standalone release packaging', () => { }); }); -describe('Linux/macOS installer end-to-end', () => { +// These end-to-end installs spawn child processes via execFileSync; +// the default 5s vitest timeout is too tight on slow CI runners even +// without Windows' cmd.exe + node.exe startup overhead. +describe('Linux/macOS installer end-to-end', { timeout: 15000 }, () => { itOnUnix( 'installs a local standalone archive with checksum verification', () => { @@ -881,7 +884,9 @@ describe('Linux/macOS installer end-to-end', () => { }); }); -describe('Windows installer end-to-end', () => { +// Windows runners are slower at spawning cmd.exe + node.exe, so the +// default 5s vitest timeout is too tight for these end-to-end installs. +describe('Windows installer end-to-end', { timeout: 30000 }, () => { itOnWindows( 'installs a local standalone archive with checksum verification', () => {