Skip to content

chore(cli): integ test filtering is broken#19462

Merged
mergify[bot] merged 2 commits intomasterfrom
huijbers/concurrent-test-runner
Mar 21, 2022
Merged

chore(cli): integ test filtering is broken#19462
mergify[bot] merged 2 commits intomasterfrom
huijbers/concurrent-test-runner

Conversation

@rix0rrr
Copy link
Copy Markdown
Contributor

@rix0rrr rix0rrr commented Mar 18, 2022

Turns out that Jest's test.concurrent() does not play well when
running jest -t TESTNAME: jest will actually start all tests,
not just the one you were trying to run.

Reported here: jestjs/jest#12588

We used to have something to opt-out of concurrent running: we
have to flip that around, and opt in to concurrent running only
for the canary and pipeline tests, where we know for a fact
we're not filtering.


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

Turns out that Jest's `test.concurrent()` does not play well when
running `jest -t TESTNAME`: jest will actually start all tests,
not just the one you were trying to run.

Reported here: jestjs/jest#12588

We used to have something to opt-out of concurrent running: we
have to flip that around, and opt in to concurrent running only
for the canary and pipeline tests, where we *know* for a fact
we're not filtering.
@rix0rrr rix0rrr requested a review from a team March 18, 2022 15:44
@rix0rrr rix0rrr self-assigned this Mar 18, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 18, 2022
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Mar 18, 2022

@rix0rrr
Copy link
Copy Markdown
Contributor Author

rix0rrr commented Mar 18, 2022

Should not be merged before https://github.com/cdklabs/cdk-ops/pull/1954 has been merged.

@rix0rrr rix0rrr added the pr/do-not-merge This PR should not be merged at this time. label Mar 18, 2022
@rix0rrr rix0rrr removed the pr/do-not-merge This PR should not be merged at this time. label Mar 21, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 21, 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: 773fe4c
  • 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 8dd93a8 into master Mar 21, 2022
@mergify mergify bot deleted the huijbers/concurrent-test-runner branch March 21, 2022 13:27
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 21, 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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