File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -456,11 +456,11 @@ describe("BatchCluster", function () {
456456 opts . maxTasksPerProcess +
457457 " before recycling" ,
458458 async function ( ) {
459- // Set timeout based on spawn time measurement to handle slow hosts
459+ // Windows CI is consistently 2-10x slower due to process spawn overhead
460460 // This test does extensive work with 60% failure rate and process recycling
461- const baselineSpawnMs = await measureSpawnTime ( ) ;
462- const timeoutMs = Math . max ( 30000 , baselineSpawnMs * 500 ) ;
463- this . timeout ( timeoutMs ) ;
461+ if ( isWin && isCI ) {
462+ this . timeout ( 60000 ) ; // Observed: can take 45s+, give 60s headroom
463+ }
464464 // make sure we hit an EUNLUCKY:
465465 setFailRatePct ( 60 ) ;
466466 let expectedResultCount = 0 ;
You can’t perform that action at this time.
0 commit comments