mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-17 21:15:40 +02:00
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:
co-authored by
Claude Fable 5
parent
f0cea4f3df
commit
c5cd8725af
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user