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:
Jeremiah Lowin 2026-04-18 10:30:03 -04:00 committed by GitHub
commit 64fbc52e1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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("""