From 079f7b80104d8251d7d78214acac16d7b74c2276 Mon Sep 17 00:00:00 2001 From: master <> Date: Thu, 2 Apr 2026 18:13:35 +0300 Subject: [PATCH] Increase advisory lifecycle test timeout to 300s for transport retries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The advisory source API tests go through the Valkey transport with withRetry (3 attempts). With the 55s transport timeout, worst case is 3 × 55s = 165s, exceeding the default 120s test timeout. Set advisory lifecycle describe block to 300s via beforeEach to give enough headroom for all retry attempts. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../tests/e2e/integrations/integrations.e2e.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Web/StellaOps.Web/tests/e2e/integrations/integrations.e2e.spec.ts b/src/Web/StellaOps.Web/tests/e2e/integrations/integrations.e2e.spec.ts index d6e5d8fce..558eea195 100644 --- a/src/Web/StellaOps.Web/tests/e2e/integrations/integrations.e2e.spec.ts +++ b/src/Web/StellaOps.Web/tests/e2e/integrations/integrations.e2e.spec.ts @@ -335,6 +335,9 @@ test.describe('Integration Services — Advisory Sources', () => { // --------------------------------------------------------------------------- test.describe('Integration Services — Advisory Source Sync Lifecycle', () => { + // Advisory endpoints go through Valkey transport which may need retries. + // Give enough time for 3 retry attempts with 55s transport timeout each. + test.beforeEach(async ({}, testInfo) => { testInfo.setTimeout(300_000); }); test('GET /catalog returns full source catalog with metadata', async ({ apiRequest }) => { const resp = await withRetry(() => apiRequest.get('/api/v1/advisory-sources/catalog'));