Skip to content

chore(ecs-patterns): migrate to Assertions#18520

Merged
mergify[bot] merged 4 commits intoaws:masterfrom
madeline-k:madeline-k/assertions/ecs-patterns
Jan 19, 2022
Merged

chore(ecs-patterns): migrate to Assertions#18520
mergify[bot] merged 4 commits intoaws:masterfrom
madeline-k:madeline-k/assertions/ecs-patterns

Conversation

@madeline-k
Copy link
Copy Markdown
Contributor

I removed 3 tests that seem pointless, but I opened an issue to investigate further: #18519

It really seems like the scenario they were testing (omiting the cluster and only providing vpc) is not a working scenario anyway.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@madeline-k madeline-k requested a review from a team January 18, 2022 23:26
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jan 18, 2022

@github-actions github-actions bot added the @aws-cdk/aws-ecs-patterns Related to ecs-patterns library label Jan 18, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 18, 2022
});

// THEN - stack does not contain a LaunchConfiguration
const template = SynthUtils.synthesize(stack, { skipValidation: true });
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one of the three removed tests that were all removed for the same reason. With Assertions, there is no way to skip synthesis validation (as far as I know!), so we can't do this test. And, even if we could, it seems completely pointless because a customer could never synthesize a template like this because of the validation.

Remove no-console
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jan 19, 2022

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-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 9a3b33f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit a7bd925 into aws:master Jan 19, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jan 19, 2022

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).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
I removed 3 tests that seem pointless, but I opened an issue to investigate further: aws#18519 

It really seems like the scenario they were testing (omiting the cluster and only providing vpc) is not a working scenario anyway. 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/aws-ecs-patterns Related to ecs-patterns library contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants