test(install): scale uninstall CLI timeout for Windows CI

The uninstall cases run two full CLI passes (install, then uninstall)
over several hundred files under a flat 30s timeout, which is tight
enough on Windows CI to fail intermittently with spawnSync ETIMEDOUT.
install-apply.test.js already scales its timeout by platform for the
same reason; match that precedent rather than re-running past the flake.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
haelyra
2026-08-09 18:38:59 -04:00
co-authored by Claude Fable 5
parent f0cea4f3df
commit c5cd8725af
+4 -1
View File
@@ -17,7 +17,10 @@ const CURRENT_PACKAGE_VERSION = JSON.parse(
const CURRENT_MANIFEST_VERSION = JSON.parse(
fs.readFileSync(path.join(REPO_ROOT, 'manifests', 'install-modules.json'), 'utf8')
).version;
const CLI_TIMEOUT_MS = 30000;
// Windows CI file I/O is several times slower, and these cases run two full
// CLI passes (install, then uninstall) over hundreds of files. install-apply
// tests already scale their timeout the same way.
const CLI_TIMEOUT_MS = process.platform === 'win32' ? 90000 : 30000;
const {
createInstallState,
writeInstallState,