Skip to content

Commit 111a259

Browse files
Increase a timeout to get a "standard" test passing. (#13098)
(for #12833) The changes in PR #12795 led to a couple of tests in CI intermittently timing out. Increasing the timeout resolves the problem (for now).
1 parent f26d2dd commit 111a259

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

news/2 Fixes/12833.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The change in PR #12795 led to one particular test suite to take longer
2+
to run. Here we increase the timeout for that suite to get the test
3+
passing.

src/test/pythonEnvironments/discovery/locators/workspaceVirtualEnvService.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ class Venvs {
7575
}
7676
}
7777

78-
const timeoutMs = IS_CI_SERVER ? 60_000 : 15_000;
78+
const baseTimeoutMs = 30_000;
79+
const timeoutMs = IS_CI_SERVER ? baseTimeoutMs * 4 : baseTimeoutMs;
7980
suite('Interpreters - Workspace VirtualEnv Service', function () {
8081
this.timeout(timeoutMs);
8182
this.retries(0);

0 commit comments

Comments
 (0)