From 22e8cf01d0b54719b3a49002fab2ccbda4ff5b9e Mon Sep 17 00:00:00 2001 From: haelyra <49814733+haelyra@users.noreply.github.com> Date: Wed, 2 Sep 2026 20:48:57 -0400 Subject: [PATCH] test(ci): scale repair timeout on Windows (#2942) --- tests/scripts/repair.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/scripts/repair.test.js b/tests/scripts/repair.test.js index 0ccb2ac1a..7a88520d5 100644 --- a/tests/scripts/repair.test.js +++ b/tests/scripts/repair.test.js @@ -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;