π The fast, Pythonic way to build MCP servers and clients.
Fix Windows test timeout and restore parallel testing (#2383)
Jeremiah Lowinf8b896490e95
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.ymlindex f019b7185..75ba3365e 100644--- a/.github/workflows/run-tests.yml+++ b/.github/workflows/run-tests.yml@@ -48,12 +48,7 @@ jobs:run: uv sync --upgrade- name: Run tests (excluding integration and client_process)- run: |- if [ "${{ matrix.os }}" = "windows-latest" ]; then- uv run pytest --inline-snapshot=disable tests -m "not integration and not client_process"- else- uv run pytest --inline-snapshot=disable tests -m "not integration and not client_process" --numprocesses auto --maxprocesses 4 --dist worksteal- fi+ run: uv run pytest --inline-snapshot=disable tests -m "not integration and not client_process" --numprocesses auto --maxprocesses 4 --dist workstealshell: bash- name: Run client process tests separatelydiff --git a/tests/server/auth/test_oauth_consent_flow.py b/tests/server/auth/test_oauth_consent_flow.pyindex a2a091af5..ae539b464 100644--- a/tests/server/auth/test_oauth_consent_flow.py+++ b/tests/server/auth/test_oauth_consent_flow.py@@ -691,6 +691,7 @@ class TestConsentPageServerIcon:upstream_client_secret="upstream-secret",token_verifier=verifier,base_url="https://proxy.example.com",+ client_storage=MemoryStore(),jwt_signing_key="test-secret",)@@ -763,6 +764,7 @@ class TestConsentPageServerIcon:upstream_client_secret="upstream-secret",token_verifier=verifier,base_url="https://proxy.example.com",+ client_storage=MemoryStore(),jwt_signing_key="test-secret",)@@ -830,6 +832,7 @@ class TestConsentPageServerIcon:upstream_client_secret="upstream-secret",token_verifier=verifier,base_url="https://proxy.example.com",+ client_storage=MemoryStore(),jwt_signing_key="test-secret",)