mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-20 12:34:17 +02:00
fix: skip stdio subprocess test on Windows CI (#3966)
Co-authored-by: Marvin Context Protocol <41898282+Marvin Context Protocol@users.noreply.github.com> Co-authored-by: Jeremiah Lowin <jlowin@users.noreply.github.com>
This commit is contained in:
parent
c759890d9e
commit
64fbc52e1d
1 changed files with 5 additions and 0 deletions
|
|
@ -101,6 +101,11 @@ class TestFileSystemSource:
|
|||
class TestMCPConfig:
|
||||
"""Test MCPConfig functionality."""
|
||||
|
||||
@pytest.mark.timeout(15)
|
||||
@pytest.mark.skipif(
|
||||
sys.platform == "win32",
|
||||
reason="Stdio subprocess lifecycle is unreliable on Windows CI",
|
||||
)
|
||||
async def test_run_mcp_config(self, tmp_path: Path):
|
||||
"""Test creating a server from an MCPConfig file."""
|
||||
server_script = inspect.cleandoc("""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue