Skip to content

Commit e3f8291

Browse files
authored
Skip flaky windows test / mulit-client garbage collection (#1592)
1 parent e09778c commit e3f8291

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/test_mcp_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import inspect
44
import logging
55
import os
6+
import sys
67
import tempfile
78
from collections.abc import AsyncGenerator
89
from pathlib import Path
@@ -243,7 +244,8 @@ def add(a: int, b: int) -> int:
243244

244245

245246
@pytest.mark.skipif(
246-
running_under_debugger(), reason="Debugger holds a reference to the transport"
247+
running_under_debugger() or sys.platform.startswith("win32"),
248+
reason="Debugger holds a reference to the transport; Windows has process lifecycle issues",
247249
)
248250
@pytest.mark.timeout(5)
249251
async def test_multi_client_lifespan(tmp_path: Path):

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)