Skip to content

Commit c9ec145

Browse files
authored
Mark flaky Windows test for retry (#2344)
* Mark flaky Windows test for retry test_multi_client_transform_with_filtering occasionally times out on Windows CI during exception formatting in linecache.checkcache(). Add @pytest.mark.flaky with 3 retries. * Remove unnecessary delay from flaky marker
1 parent dab125e commit c9ec145

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_mcp_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ def add(a: int, b: int) -> int:
636636
assert "test_1_transformed_add" not in tools_by_name
637637

638638

639+
@pytest.mark.flaky(retries=3)
639640
async def test_multi_client_transform_with_filtering(tmp_path: Path):
640641
"""
641642
Tests that tag-based filtering works when using a transforming MCPConfig.

0 commit comments

Comments
 (0)