We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e60dad commit 9dc2c28Copy full SHA for 9dc2c28
1 file changed
nodejs/test/e2e/harness/sdkTestContext.ts
@@ -293,8 +293,10 @@ export async function createSdkTestContext({
293
afterAll(async () => {
294
await copilotClient.stop();
295
await openAiEndpoint.stop(anyTestFailed);
296
- // On Windows, the in-process runtime can keep session.db locked until this
297
- // Vitest worker exits. Retrying here prevents that exit and deadlocks teardown.
+ // On Windows, this Vitest worker can retain the in-process runtime's session.db
+ // lock until the worker exits. Retrying from its afterAll hook cannot succeed:
298
+ // the hook waits for the lock, while the lock cannot clear until the hook returns
299
+ // and lets the worker exit.
300
await rmDir(
301
"remove e2e test copilotHomeDir",
302
copilotHomeDir,
0 commit comments