Skip to content

Commit 31a1bc4

Browse files
committed
socket: 8s timeout for slow server streamingsocket test
It took about 7.5s in testing. It seems slower in Vitest than Jasmine oddly, the server side delay is only 5s.
1 parent a1d2778 commit 31a1bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/socket/src/streamingsocket.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const enabled = !!globalThis.process?.env.SOCKETSERVER_ENABLED;
2727
socket.connect();
2828
await socket.connected;
2929
socket.disconnect();
30-
}, 6000);
30+
}, 8000);
3131

3232
it("times out when establishing connection takes too long", async () => {
3333
const socket = new StreamingSocket(socketServerUrlSlow, 2_000);

0 commit comments

Comments
 (0)