Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

ci: run mcp interactions and redis cluster iam integration tests only in circleci (#46780)

Yassin Kortam1e5d83f6ce20
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 90bab08235a..0d442e32b0a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1293,6 +1293,19 @@ jobs:
uv venv --python 3.12 .venv-mcp-peer
uv pip install --python .venv-mcp-peer 'mcp==1.28.1' 'langchain-mcp-adapters==0.2.1'
echo "export MCP_TEST_PEER_PYTHON=$PWD/.venv-mcp-peer/bin/python" >> "$BASH_ENV"
+ - when:
+ condition:
+ equal: [sdk, << parameters.suite >>]
+ steps:
+ - run:
+ name: Install redis-server 7.2.16
+ command: |
+ mkdir -p /tmp/redis-bin
+ cid="$(docker create redis:7.2.16@sha256:0637954999d01b7c9ce9167db2da50656e2590d3b884f1c600c5f63bb6e6773c)"
+ docker cp "${cid}:/usr/local/bin/redis-server" /tmp/redis-bin/redis-server
+ docker rm "$cid"
+ /tmp/redis-bin/redis-server --version | grep -q 'v=7.2.16'
+ echo 'export PATH="/tmp/redis-bin:$PATH"' >> "$BASH_ENV"
- start_postgres:
image: postgres:16@sha256:e17e86066e5ef83e0952a9347f5c792b7ece00972e2aa787a6986f471b3dd3d5
server_args: "-c max_connections=300 -c shared_preload_libraries=pg_stat_statements -c pg_stat_statements.track=all -c pg_stat_statements.max=20000"
diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml
index c11caa56be1..0558875bdad 100644
--- a/.github/workflows/test-unit.yml
+++ b/.github/workflows/test-unit.yml
@@ -565,7 +565,6 @@ jobs:
- shard: mcp-elicitation
test-path: |-
- --override-ini=pythonpath=tests
tests/unit/experimental_mcp_client/test_mcp_client.py
tests/unit/proxy/_experimental/mcp_server/test_capabilities.py
tests/unit/proxy/_experimental/mcp_server/test_interactions.py
@@ -580,17 +579,6 @@ jobs:
job-timeout-minutes: 60
dist: loadscope
- - shard: mcp-interactions
- test-path: |-
- --override-ini=pythonpath=tests
- tests/integration/mcp/test_interactions.py
- python-version: "3.12"
- workers: 4
- reruns: 0
- timeout-minutes: 20
- job-timeout-minutes: 60
- dist: loadscope
-
- shard: proxy-infra
test-path: |-
tests/unit/proxy/db
@@ -1463,7 +1451,6 @@ jobs:
tests/unit/caching/test_redis_connection_pool.py \
tests/unit/caching/test_redis_cluster_cache.py \
tests/unit/caching/test_evicted_client_closer.py \
- tests/integration/sdk/test_redis_cluster_iam_auth.py \
--tb=short -vv -rs -p no:rerunfailures -p no:pytest-retry --timeout=120 --durations=20 \
--cov=./litellm --cov-report=xml:coverage.xml
diff --git a/tests/integration/run.py b/tests/integration/run.py
index d6ddd9d5e89..7ab8d59c02c 100644
--- a/tests/integration/run.py
+++ b/tests/integration/run.py
@@ -33,8 +33,6 @@ GITHUB_FILES: Final = frozenset(
"tests/integration/database/image/test_image_bedrock_realtime_extra.py",
"tests/integration/database/image/test_offline_image_migration.py",
"tests/integration/database/image/test_ui_image_serves_offline.py",
- "tests/integration/mcp/test_interactions.py",
- "tests/integration/sdk/test_redis_cluster_iam_auth.py",
}
)