mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:40:44 +00:00
test: harden ci timing cleanup
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user