diff --git a/packages/opencode-agents/tests/test_handler.py b/packages/opencode-agents/tests/test_handler.py index cee6de67..4ac79057 100644 --- a/packages/opencode-agents/tests/test_handler.py +++ b/packages/opencode-agents/tests/test_handler.py @@ -1605,11 +1605,13 @@ async def test_boot_is_outside_the_caller_timeout(self) -> None: text_delta("m1", "p1", "Hi"), assistant_completed("m1"), ], - delay_ready=0.6, + delay_ready=2.0, ) handler = create_opencode_handler(**script.handler_args()) async with handler: - async with asyncio.timeout(0.2): + # The boot is twice the timeout, so the test fails if boot moves inside it. The + # 1 s timeout leaves the stream itself room on a slow runner. + async with asyncio.timeout(1.0): seen = [ event async for event in await handler.stream(