-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
chore: add assertions to integ tests using AwsCustomResource
#29950
Conversation
...mework-integ/test/custom-resources/test/aws-custom-resource/integ.aws-custom-resource-vpc.ts
Outdated
Show resolved
Hide resolved
...@aws-cdk-testing/framework-integ/test/aws-synthetics/test/integ.canary-auto-delete-lambda.ts
Outdated
Show resolved
Hide resolved
...ork-integ/test/custom-resources/test/aws-custom-resource/integ.aws-custom-resource-athena.ts
Outdated
Show resolved
Hide resolved
...ork-integ/test/custom-resources/test/aws-custom-resource/integ.aws-custom-resource-athena.ts
Outdated
Show resolved
Hide resolved
...ork-integ/test/custom-resources/test/aws-custom-resource/integ.aws-custom-resource-athena.ts
Show resolved
Hide resolved
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
testCases: [stack], | ||
diffAssets: true, | ||
}); | ||
|
||
app.synth(); | ||
// Assertion to check if TestWG workgroup is present in the list of workgroups | ||
integTest.assertions.awsApiCall('Athena', 'listWorkGroups') |
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.
Nice!
...@aws-cdk-testing/framework-integ/test/aws-synthetics/test/integ.canary-auto-delete-lambda.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
|
||
new integ.IntegTest(app, 'AwsCustomResourceTest', { | ||
testCases: [ | ||
new AwsCdkSdkJsStack(app, 'aws-cdk-sdk-js'), |
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.
Removing this since we are completely migrating off SDK v2.
Signed-off-by: Francis <colifran@amazon.com>
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 main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one. |
Closes #29937
Reason for this change
Adding assertions for
AwsCustomResource
will improve our test coverage.Description of changes
Added assertions for
AwsCustomResource
to integ tests that were impacted by this PR.Description of how you validated changes
Assertions were validated by running the integ tests and verifying that it succeeded.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license