test(ci): scale repair timeout on Windows (#2942)

This commit is contained in:
haelyra
2026-09-02 20:48:57 -04:00
committed by GitHub
parent d3652039ac
commit 22e8cf01d0
+4 -1
View File
@@ -12,7 +12,10 @@ const INSTALL_SCRIPT = path.join(__dirname, '..', '..', 'scripts', 'install-appl
const DOCTOR_SCRIPT = path.join(__dirname, '..', '..', 'scripts', 'doctor.js');
const REPAIR_SCRIPT = path.join(__dirname, '..', '..', 'scripts', 'repair.js');
const REPO_ROOT = path.join(__dirname, '..', '..');
const CLI_TIMEOUT_MS = 30000;
// Windows CI file I/O is several times slower, and these cases run full
// install, doctor, and repair passes over hundreds of files. Keep this in
// step with the equivalent install-apply and uninstall integration tests.
const CLI_TIMEOUT_MS = process.platform === 'win32' ? 90000 : 30000;
const CURRENT_PACKAGE_VERSION = JSON.parse(
fs.readFileSync(path.join(REPO_ROOT, 'package.json'), 'utf8')
).version;