Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix flaky SSE tests: test_sse_client_basic_connection_mounted_app and test_request_context_isolation #1777

Copy link
Copy link
@maxisbey

Description

@maxisbey
Issue body actions

Initial Checks

Description

Two SSE tests in tests/shared/test_sse.py are flaky:

Affected tests:

  • test_sse_client_basic_connection_mounted_app (line 326)
  • test_request_context_isolation (line 462)

CI evidence: https://github.com/modelcontextprotocol/python-sdk/actions/runs/19330649603/job/55292600721?pr=1586

Test locations:

  • tests/shared/test_sse.py:326 - test_sse_client_basic_connection_mounted_app
  • tests/shared/test_sse.py:462 - test_request_context_isolation

Related Issues

Python & MCP Python SDK

Latest SDK version

AI Disclaimer

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Nice to haves, rare edge casesNice to haves, rare edge casesbugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.