Skip to content

Commit e28a09a

Browse files
committed
fix: retry logic in deleteProject
1 parent 7499c10 commit e28a09a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/amplify-e2e-core/src/init/deleteProject.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ export const deleteProject = async (
1919
await retry(
2020
() => describeCloudFormationStack(stackName, region, profileConfig),
2121
(stack) => stack.StackStatus.endsWith('_COMPLETE') || stack.StackStatus.endsWith('_FAILED'),
22-
{ timeoutMS: 1000 * 60 * 15 },
23-
(stack) => stack.StackStatus.includes('_IN_PROGRESS'), // Treat stuck in-progress states as failed
2422
);
2523

2624
await spawn(getCLIPath(usingLatestCodebase), ['delete'], { cwd, stripColors: true, noOutputTimeout })

0 commit comments

Comments
 (0)