test(packaging): retry isolated launch cleanup

This commit is contained in:
Sucukdeluxe
2026-08-12 03:23:53 +02:00
parent fe57607790
commit 0aebc701d8
+1 -1
View File
@@ -75,7 +75,7 @@ async function verifyPackagedLaunch(executablePath = packagedExecutablePath(), r
return { executablePath, readyMs };
} finally {
terminateProcessTree(child);
fs.rmSync(environmentRoot, { recursive: true, force: true });
await fs.promises.rm(environmentRoot, { recursive: true, force: true, maxRetries: 10, retryDelay: 250 });
}
}