@@ -63,7 +63,7 @@ describe('install', function () {
6363 } )
6464
6565 afterEach ( async ( ) => {
66- await rm ( prog . devDir , { recursive : true , force : true , maxRetries : 3 } )
66+ await rm ( prog . devDir , { recursive : true , force : true , maxRetries : 3 , retryDelay : 1000 } )
6767 prog = null
6868 } )
6969
@@ -74,11 +74,11 @@ describe('install', function () {
7474 }
7575
7676 return it ( name , async function ( ) {
77- this . timeout ( platformTimeout ( 2 , { win32 : 20 } ) )
77+ this . timeout ( platformTimeout ( 4 , { win32 : 20 } ) )
7878 await fn . call ( this )
7979 const expectedDir = path . join ( prog . devDir , process . version . replace ( / ^ v / , '' ) )
80- await rm ( expectedDir , { recursive : true , force : true , maxRetries : 3 } )
81- await Promise . all ( new Array ( 10 ) . fill ( 0 ) . map ( async ( _ , i ) => {
80+ await rm ( expectedDir , { recursive : true , force : true , maxRetries : 3 , retryDelay : 1000 } )
81+ await Promise . all ( new Array ( 5 ) . fill ( 0 ) . map ( async ( _ , i ) => {
8282 const title = `${ ' ' . repeat ( 8 ) } ${ name } ${ ( i + 1 ) . toString ( ) . padEnd ( 2 , ' ' ) } `
8383 console . log ( `${ title } : Start` )
8484 console . time ( title )
0 commit comments