Skip to content

Commit 4ea297c

Browse files
author
Jianke LIN
committed
test(streamable-http): ensure resumption failure does not hang
1 parent b237e91 commit 4ea297c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/interaction/transports/test_hosting_resume.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,10 @@ async def call() -> None:
373373
assert received == snapshot(["before close", "after close"])
374374

375375

376+
@requirement("hosting:resume:close-stream")
377+
@requirement("transport:streamable-http:resumability")
378+
@requirement("client-transport:http:reconnect-post-priming")
379+
@requirement("client-transport:http:reconnect-retry-value")
376380
async def test_a_call_whose_stream_closes_and_cannot_be_resumed_fails_instead_of_hanging() -> None:
377381
"""If a resumable response stream disconnects and the server session is gone, the client fails
378382
the request instead of hanging forever.

0 commit comments

Comments
 (0)