From 359c2a30436dd7bace9f997099a134bffb49a0c9 Mon Sep 17 00:00:00 2001 From: phact Date: Fri, 19 Dec 2025 02:05:22 -0500 Subject: [PATCH] test default port --- sdks/python/tests/test_integration.py | 4 ++-- sdks/typescript/tests/integration.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdks/python/tests/test_integration.py b/sdks/python/tests/test_integration.py index 0280f33d..97516763 100644 --- a/sdks/python/tests/test_integration.py +++ b/sdks/python/tests/test_integration.py @@ -2,7 +2,7 @@ Integration tests for OpenRAG Python SDK. These tests run against a real OpenRAG instance. -Requires: OPENRAG_URL environment variable (defaults to http://localhost:8000) +Requires: OPENRAG_URL environment variable (defaults to http://localhost:3000) Run with: pytest sdks/python/tests/test_integration.py -v """ @@ -21,7 +21,7 @@ pytestmark = pytest.mark.skipif( # Module-level cache for API key (created once, reused) _cached_api_key: str | None = None -_base_url = os.environ.get("OPENRAG_URL", "http://localhost:8000") +_base_url = os.environ.get("OPENRAG_URL", "http://localhost:3000") def get_api_key() -> str: diff --git a/sdks/typescript/tests/integration.test.ts b/sdks/typescript/tests/integration.test.ts index feececa0..8f2903b6 100644 --- a/sdks/typescript/tests/integration.test.ts +++ b/sdks/typescript/tests/integration.test.ts @@ -2,7 +2,7 @@ * Integration tests for OpenRAG TypeScript SDK. * * These tests run against a real OpenRAG instance. - * Requires: OPENRAG_URL environment variable (defaults to http://localhost:8000) + * Requires: OPENRAG_URL environment variable (defaults to http://localhost:3000) * * Run with: npm test */ @@ -15,7 +15,7 @@ import * as os from "os"; // Dynamic import to handle the SDK not being built yet let OpenRAGClient: typeof import("../src").OpenRAGClient; -const BASE_URL = process.env.OPENRAG_URL || "http://localhost:8000"; +const BASE_URL = process.env.OPENRAG_URL || "http://localhost:3000"; const SKIP_TESTS = process.env.SKIP_SDK_INTEGRATION_TESTS === "true"; // Create API key for tests