fix: add retry to temp dir cleanup for Windows CI
Cherry-picked from upstream c5d33727
This commit is contained in:
parent
81921abfd4
commit
86d69476c1
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ describe('SessionSearcher', () => {
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
for (const dir of tempDirs) {
|
for (const dir of tempDirs) {
|
||||||
fs.rmSync(dir, { recursive: true, force: true });
|
fs.rmSync(dir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
||||||
}
|
}
|
||||||
tempDirs.length = 0;
|
tempDirs.length = 0;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue