test: harden ci timing cleanup

This commit is contained in:
Peter Steinberger
2026-04-22 04:43:25 +01:00
parent 4d223950a0
commit 00cdab99bf
2 changed files with 2 additions and 2 deletions

View File

@@ -15,6 +15,6 @@ export function writeJsonFile(filePath: string, value: unknown): void {
export function cleanupTempDirs(tempDirs: string[]): void {
for (const dir of tempDirs.splice(0)) {
fs.rmSync(dir, { recursive: true, force: true });
fs.rmSync(dir, { recursive: true, force: true, maxRetries: 5, retryDelay: 20 });
}
}