Skip to content

Commit 1c29903

Browse files
stephentoubCopilot
andcommitted
fix: increase ui_elicitation e2e test timeouts from 20s to 60s
The test 'session created with onElicitationRequest reports elicitation capability' was flaky on Windows CI runners, timing out at 20s. The explicit 20s timeout was lower than the global vitest default of 30s. Increase all timeouts in this file to 60s to account for slower Windows CI runners. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a932da1 commit 1c29903

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

nodejs/test/e2e/ui_elicitation.e2e.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe("UI Elicitation Callback", async () => {
2727

2828
it(
2929
"session created with onElicitationRequest reports elicitation capability",
30-
{ timeout: 20_000 },
30+
{ timeout: 60_000 },
3131
async () => {
3232
const session = await client.createSession({
3333
onPermissionRequest: approveAll,
@@ -40,7 +40,7 @@ describe("UI Elicitation Callback", async () => {
4040

4141
it(
4242
"session created without onElicitationRequest reports no elicitation capability",
43-
{ timeout: 20_000 },
43+
{ timeout: 60_000 },
4444
async () => {
4545
const session = await client.createSession({
4646
onPermissionRequest: approveAll,
@@ -73,7 +73,7 @@ describe("UI Elicitation Multi-Client Capabilities", async () => {
7373

7474
it(
7575
"capabilities.changed fires when second client joins with elicitation handler",
76-
{ timeout: 20_000 },
76+
{ timeout: 60_000 },
7777
async () => {
7878
// Client1 creates session without elicitation
7979
const session1 = await client1.createSession({
@@ -112,7 +112,7 @@ describe("UI Elicitation Multi-Client Capabilities", async () => {
112112

113113
it(
114114
"capabilities.changed fires when elicitation provider disconnects",
115-
{ timeout: 20_000 },
115+
{ timeout: 60_000 },
116116
async () => {
117117
// Client1 creates session without elicitation
118118
const session1 = await client1.createSession({

0 commit comments

Comments
 (0)