summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vscode/settings.json4
-rw-r--r--extension/src/test-suite/environmentSetup.test.ts7
2 files changed, 6 insertions, 5 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 2195200a..856240e5 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,3 +1,3 @@
{
- "python.defaultInterpreterPath": "${workspaceFolder}/continuedev/.venv/bin/python",
-} \ No newline at end of file
+ "python.defaultInterpreterPath": "${workspaceFolder}/continuedev/.venv/bin/python3"
+}
diff --git a/extension/src/test-suite/environmentSetup.test.ts b/extension/src/test-suite/environmentSetup.test.ts
index d9fcfb2c..9a478522 100644
--- a/extension/src/test-suite/environmentSetup.test.ts
+++ b/extension/src/test-suite/environmentSetup.test.ts
@@ -6,11 +6,12 @@ import { startContinuePythonServer } from "../activation/environmentSetup";
import fetch from "node-fetch";
describe("Can start python server", () => {
- test("Can start python server", async () => {
+ test("Can start python server in under 10 seconds", async function () {
+ this.timeout(17_000);
await startContinuePythonServer();
- await new Promise((resolve) => setTimeout(resolve, 500));
-
+ await new Promise((resolve) => setTimeout(resolve, 15_000));
+
// Check if server is running
const serverUrl = getContinueServerUrl();
const response = await fetch(`${serverUrl}/health`);