Skip to content

Commit 579ed01

Browse files
committed
test(streamable-http): ensure resumption failure does not hang
1 parent 57d2578 commit 579ed01

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
@@ -296,6 +296,10 @@ async def call() -> None:
296296
assert received == snapshot(["before close", "after close"])
297297

298298

299+
@requirement("hosting:resume:close-stream")
300+
@requirement("transport:streamable-http:resumability")
301+
@requirement("client-transport:http:reconnect-post-priming")
302+
@requirement("client-transport:http:reconnect-retry-value")
299303
async def test_a_call_whose_stream_closes_and_cannot_be_resumed_fails_instead_of_hanging() -> None:
300304
"""If a resumable response stream disconnects and the server session is gone, the client fails
301305
the request instead of hanging forever.

0 commit comments

Comments
 (0)