Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/vs/platform/agentHost/test/node/copilotAgent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7999,8 +7999,8 @@ suite('CopilotAgent', () => {
const provisional = (agent as unknown as { _provisionalSessions: Map<string, { workspaceless?: boolean }> })._provisionalSessions.get('temp-fallback');
assert.strictEqual(provisional?.workspaceless, true);
} finally {
await fs.rm(userHome.fsPath, { recursive: true, force: true });
await disposeAgent(agent);
await fs.rm(userHome.fsPath, { recursive: true, force: true, maxRetries: 5 });
}
}).timeout(30_000);

Expand All @@ -8026,8 +8026,8 @@ suite('CopilotAgent', () => {

assert.deepStrictEqual(uris.includes(scratchInstructions.toString()), false);
} finally {
await fs.rm(userHome.fsPath, { recursive: true, force: true });
await disposeAgent(agent);
await fs.rm(userHome.fsPath, { recursive: true, force: true, maxRetries: 5 });
}
}).timeout(30_000);

Expand All @@ -8052,8 +8052,8 @@ suite('CopilotAgent', () => {
await internals._resumeSession(sessionId, sessionBackedChat(sessionId)).catch(() => undefined);
await fs.access(scratchDir.fsPath);
} finally {
await fs.rm(userHome.fsPath, { recursive: true, force: true });
await disposeAgent(agent);
await fs.rm(userHome.fsPath, { recursive: true, force: true, maxRetries: 5 });
Comment thread
alexdima marked this conversation as resolved.
Resolved
}
}).timeout(30_000);

Expand All @@ -8072,8 +8072,8 @@ suite('CopilotAgent', () => {
await disposeProvisionedSession(agent, result.session);
await assert.rejects(() => fs.access(scratchDir.fsPath));
} finally {
await fs.rm(userHome.fsPath, { recursive: true, force: true });
await disposeAgent(agent);
await fs.rm(userHome.fsPath, { recursive: true, force: true, maxRetries: 5 });
}
}).timeout(30_000);

Expand All @@ -8098,8 +8098,8 @@ suite('CopilotAgent', () => {
await disposeProvisionedSession(agent, session);
return { afterPeer, afterDefault: await scratchExists() };
} finally {
await fs.rm(userHome.fsPath, { recursive: true, force: true });
await disposeAgent(agent);
await fs.rm(userHome.fsPath, { recursive: true, force: true, maxRetries: 5 });
}
}

Expand Down
Loading