test(packaging): retry isolated launch cleanup
This commit is contained in:
@@ -75,7 +75,7 @@ async function verifyPackagedLaunch(executablePath = packagedExecutablePath(), r
|
|||||||
return { executablePath, readyMs };
|
return { executablePath, readyMs };
|
||||||
} finally {
|
} finally {
|
||||||
terminateProcessTree(child);
|
terminateProcessTree(child);
|
||||||
fs.rmSync(environmentRoot, { recursive: true, force: true });
|
await fs.promises.rm(environmentRoot, { recursive: true, force: true, maxRetries: 10, retryDelay: 250 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user