Skip to content

Commit 23947ad

Browse files
HweinstockLocal E2E
andauthored
chore(ci): add longer timeout and retries for deploying memory (#1491)
Co-authored-by: Local E2E <ci@local>
1 parent a2119e8 commit 23947ad

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

e2e-tests/e2e-helper.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,10 @@ export function createE2ESuite(cfg: E2EConfig) {
143143
}, 600000);
144144

145145
// Container builds go through CodeBuild which is slower and more prone to transient failures.
146+
// Memory deployment time can be flaky and take at least 3-5 minutes.
146147
const isContainerBuild = cfg.build === 'Container';
147-
const deployRetries = isContainerBuild ? 3 : 1;
148-
const deployTimeout = isContainerBuild ? 900000 : 600000;
148+
const deployRetries = isContainerBuild || cfg.memory ? 3 : 1;
149+
const deployTimeout = isContainerBuild || cfg.memory ? 900000 : 600000;
149150

150151
it.skipIf(!canRun)(
151152
'deploys to AWS successfully',

0 commit comments

Comments
 (0)