mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
test(server-adapters): fail the disconnect test fast on a bad response
Reject on a non-200 status or a response that ends before its first chunk, bound the waits for the first chunk and the model stream, and give the test a 20s timeout so slow setup can't eat the abort race. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d7dfc2e3b1
commit
02fada004d
1 changed files with 20 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue