Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/opencode-agents/tests/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading