mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-14 13:22:37 +00:00
test(opencode): retry temp cleanup while Windows holds the ripgrep download
This commit is contained in:
@@ -355,7 +355,8 @@ test.each([
|
||||
await resumed?.close();
|
||||
await original?.close();
|
||||
await client.shutdown();
|
||||
await rm(root, { recursive: true, force: true });
|
||||
// OpenCode can still hold its ripgrep download open on Windows right after shutdown.
|
||||
await rm(root, { recursive: true, force: true, maxRetries: 10, retryDelay: 200 });
|
||||
}
|
||||
},
|
||||
240_000,
|
||||
|
||||
Reference in New Issue
Block a user