@@ -52,7 +52,7 @@ async def run(self, prompt: str) -> str:
5252
5353
5454async def test_mcp (client : Client ):
55- task_queue = "test_mcp"
55+ task_queue = f "test_mcp- { uuid4 () } "
5656 plugin = StrandsPlugin (
5757 models = {
5858 "mock" : lambda : MockModel (
@@ -125,7 +125,7 @@ async def run(self, prompt: str) -> str:
125125
126126async def test_mcp_reuses_connection (client : Client ):
127127 """Successive MCP tool calls reuse one cached worker-side connection."""
128- task_queue = "test_mcp_reuses_connection"
128+ task_queue = f "test_mcp_reuses_connection- { uuid4 () } "
129129 # Count how often the worker opens a connection. One lazily-opened
130130 # connection serves the list-tools discovery and both tool calls (1);
131131 # reconnecting per call would make it more.
@@ -206,7 +206,7 @@ async def run(self, prompt: str) -> str:
206206
207207async def test_mcp_connection_idle_timeout (client : Client ):
208208 """A short idle timeout evicts the cached connection while the worker runs."""
209- task_queue = "test_mcp_connection_idle_timeout"
209+ task_queue = f "test_mcp_connection_idle_timeout- { uuid4 () } "
210210 factory_calls = [0 ]
211211
212212 def counting_factory () -> MCPClient :
@@ -282,7 +282,7 @@ async def run(self, prompt: str) -> str:
282282
283283async def test_mcp_lists_tools_each_turn_when_uncached (client : Client ):
284284 """With cache_tools=False the tool list is re-fetched on every model call."""
285- task_queue = "test_mcp_lists_tools_each_turn_when_uncached"
285+ task_queue = f "test_mcp_lists_tools_each_turn_when_uncached- { uuid4 () } "
286286 plugin = StrandsPlugin (
287287 models = {
288288 "mock" : lambda : MockModel (
0 commit comments