From aa5449a4fac8adbc282d57e3e47b14f3ce95674f Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 7 Jul 2025 14:04:01 +0000 Subject: [PATCH] Reduce timeout duration in adapter timeout tests from 60s to 5s Co-authored-by: dallin --- packages/data-source/tests/unit/adapters/timeout.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/data-source/tests/unit/adapters/timeout.test.ts b/packages/data-source/tests/unit/adapters/timeout.test.ts index 75594692e..b28cf333a 100644 --- a/packages/data-source/tests/unit/adapters/timeout.test.ts +++ b/packages/data-source/tests/unit/adapters/timeout.test.ts @@ -81,7 +81,7 @@ describe('Adapter Timeout Tests', () => { () => new Promise((resolve) => { // Never resolve to simulate timeout - setTimeout(() => resolve({ rows: [], fields: [] }), 60000); + setTimeout(() => resolve({ rows: [], fields: [] }), 5000); }) ), end: vi.fn().mockResolvedValue(undefined), @@ -161,7 +161,7 @@ describe('Adapter Timeout Tests', () => { () => new Promise((resolve) => { // Never resolve to simulate timeout - setTimeout(() => resolve([[], []]), 60000); + setTimeout(() => resolve([[], []]), 5000); }) ), end: vi.fn().mockResolvedValue(undefined), @@ -238,7 +238,7 @@ describe('Adapter Timeout Tests', () => { () => new Promise((resolve) => { // Never resolve to simulate timeout - setTimeout(() => resolve({ recordset: [] }), 60000); + setTimeout(() => resolve({ recordset: [] }), 5000); }) ), input: vi.fn(), @@ -282,7 +282,7 @@ describe('Adapter Timeout Tests', () => { () => new Promise((resolve) => { // Never resolve to simulate timeout - setTimeout(() => resolve([[], []]), 60000); + setTimeout(() => resolve([[], []]), 5000); }) ), end: vi.fn().mockResolvedValue(undefined),