-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cli): deployments are skipped if stack is in a _failed state #10847
fix(cli): deployments are skipped if stack is in a _failed state #10847
Conversation
14bddd7
to
400daeb
Compare
}).catch(e => err = e); | ||
|
||
// THEN | ||
expect(err).toEqual(Error('The stack named withouterrors failed to deploy: DELETE_FAILED')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not clear to me why this is the correct test for this behavior change.
Don't we want to assert that "createChangeSet" is called, or something to that effect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pushed a change to the test asserting a call on createChangeSet, however i'm not sure that in that case the expected behaviour is fully captured by the test.
Currently, the stack will actually deploy, after which waitForStackDeploy
will throw an error due to the stack not being in a success state.
400daeb
to
095a663
Compare
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
fixes #10784
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license