From 02dae530f4b70b6bcf30a4f3bab3cb151b82de21 Mon Sep 17 00:00:00 2001 From: Local E2E Date: Tue, 9 Jun 2026 15:13:27 +0000 Subject: [PATCH] chore(ci): add longer timeout and retries for deploying memory --- e2e-tests/e2e-helper.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e-tests/e2e-helper.ts b/e2e-tests/e2e-helper.ts index f5fbce546..bd3730ef6 100644 --- a/e2e-tests/e2e-helper.ts +++ b/e2e-tests/e2e-helper.ts @@ -143,9 +143,10 @@ export function createE2ESuite(cfg: E2EConfig) { }, 600000); // Container builds go through CodeBuild which is slower and more prone to transient failures. + // Memory deployment time can be flaky and take at least 3-5 minutes. const isContainerBuild = cfg.build === 'Container'; - const deployRetries = isContainerBuild ? 3 : 1; - const deployTimeout = isContainerBuild ? 900000 : 600000; + const deployRetries = isContainerBuild || cfg.memory ? 3 : 1; + const deployTimeout = isContainerBuild || cfg.memory ? 900000 : 600000; it.skipIf(!canRun)( 'deploys to AWS successfully',