Skip to content

Commit a6233cd

Browse files
committed
test(runtime): stabilize proxied body deadline coverage
Generated-by: Maka
1 parent 62556ab commit a6233cd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/runtime/src/network/__tests__/scoped-fetch-transport.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ describe('connection effect network transport', () => {
180180
const response = await fetchForConnectionEffect(
181181
undefined,
182182
`http://127.0.0.1:${port}/models`,
183-
{ timeoutMs: 50 },
183+
// Leave enough time for the production proxy to establish the response;
184+
// the assertion is that its deadline remains armed while the body stalls.
185+
{ timeoutMs: 250 },
184186
);
185187
await assert.rejects(
186188
response.readJson(),

0 commit comments

Comments
 (0)