Skip to content

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

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

mergify[bot] merged 2 commits into
masterfrom
huijbers/concurrent-test-runner

Conversation

@rix0rrr

@rix0rrr rix0rrr commented Mar 18, 2022

Copy link
Copy Markdown
Contributor

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

gitpod-io Bot commented Mar 18, 2022

Copy link
Copy Markdown

@rix0rrr

rix0rrr commented Mar 18, 2022

Copy link
Copy Markdown
Contributor Author

@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

mergify Bot commented Mar 21, 2022

Copy link
Copy Markdown
Contributor

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

mergify Bot commented Mar 21, 2022

Copy link
Copy Markdown
Contributor

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

ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
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*
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