Skip to content

Commit 6c51dad

Browse files
authored
Skip flaky windows test (#1596)
1 parent c7984e2 commit 6c51dad

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
run: uv sync --frozen
4949

5050
- name: Run tests (excluding integration and client_process)
51-
run: uv run pytest tests -m "not integration and not client_process"
51+
run: uv run pytest -v tests -m "not integration and not client_process"
5252

5353
- name: Run client process tests separately
54-
run: uv run pytest tests -m "client_process" -x
54+
run: uv run pytest -v tests -m "client_process" -x
5555

5656
run_integration_tests:
5757
name: "Run integration tests"
@@ -73,7 +73,7 @@ jobs:
7373
run: uv sync --frozen
7474

7575
- name: Run integration tests
76-
run: uv run pytest tests -m "integration"
76+
run: uv run pytest -v tests -m "integration"
7777
env:
7878
FASTMCP_GITHUB_TOKEN: ${{ secrets.FASTMCP_GITHUB_TOKEN }}
7979
FASTMCP_TEST_AUTH_GITHUB_CLIENT_ID: ${{ secrets.FASTMCP_TEST_AUTH_GITHUB_CLIENT_ID }}

tests/test_mcp_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@ def pid() -> int:
309309
await asyncio.sleep(0.1)
310310

311311

312+
@pytest.mark.skipif(
313+
sys.platform.startswith("win32"),
314+
reason="Windows has process lifecycle issues",
315+
)
312316
async def test_multi_client_force_close(tmp_path: Path):
313317
server_script = inspect.cleandoc("""
314318
from fastmcp import FastMCP

0 commit comments

Comments
 (0)