Skip to content

chore(ecs-patterns) update integration tests to use new integ-test construct#21237

Merged
mergify[bot] merged 6 commits intoaws:mainfrom
michaeldrey:integ_tests_update
Jul 19, 2022
Merged

chore(ecs-patterns) update integration tests to use new integ-test construct#21237
mergify[bot] merged 6 commits intoaws:mainfrom
michaeldrey:integ_tests_update

Conversation

@michaeldrey
Copy link
Copy Markdown
Contributor

@michaeldrey michaeldrey commented Jul 19, 2022

Currently when you run yarn build+test+extract, integration tests all fail with No stack found for test x.

This PR updates all the integration tests to the new standard using integ-runner + integ-tests libraries.

Integration tests tend to generate a lot of files for the snapshot, hence the 111 files in the PR.

This PR is breaking up my previous PR, #21221


All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)?

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

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jul 19, 2022

@github-actions github-actions bot added the p2 label Jul 19, 2022
@aws-cdk-automation aws-cdk-automation requested a review from a team July 19, 2022 17:19
@michaeldrey michaeldrey changed the title cleanup(ecs-patterns) updating integration tests to a working state fix(ecs-patterns) updating integration tests to a working state Jul 19, 2022
@TheRealAmazonKendra TheRealAmazonKendra changed the title fix(ecs-patterns) updating integration tests to a working state chore(ecs-patterns) update integration tests to use new integ-test construct Jul 19, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 19, 2022

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

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: abe4bf4
  • 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 d6f738b into aws:main Jul 19, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 19, 2022

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

mergify bot pushed a commit that referenced this pull request Jul 21, 2022
A few integration tests slipped under the radar and were not updated with the new integ-tests library. 

Also corrected typos.

Relates to:
#21237 
#21221 

----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
comcalvi pushed a commit to comcalvi/aws-cdk that referenced this pull request Jul 25, 2022
…nstruct (aws#21237)

Currently when you run `yarn build+test+extract`, integration tests all fail with `No stack found for test x`.

This PR updates all the integration tests to the new standard using `integ-runner` + `integ-tests` libraries.

Integration tests tend to generate a lot of files for the snapshot, hence the 111 files in the PR.

This PR is breaking up my previous PR, aws#21221

----

### All Submissions:

* [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
comcalvi pushed a commit to comcalvi/aws-cdk that referenced this pull request Jul 25, 2022
A few integration tests slipped under the radar and were not updated with the new integ-tests library. 

Also corrected typos.

Relates to:
aws#21237 
aws#21221 

----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants