Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/livekit-rtc/src/tests/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,11 @@ describeE2E('livekit-rtc e2e', () => {
responseTimeout: testTimeoutMs,
});

const rpcResponseTimeoutMs = 1_000;
// A successful response travels back as a v2 data stream (header + chunk +
// trailer), which measures 20-50x the single-packet error response below:
// tens of ms warm, but several hundred on the first calls after connect.
// 1s left no margin for that.
const rpcResponseTimeoutMs = 5_000;

await expect(
callerRoom!.localParticipant!.performRpc({
Expand Down
Loading