[
https://issues.apache.org/jira/browse/CASSANDRA-17939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616508#comment-17616508
]
Andres de la Peña commented on CASSANDRA-17939:
-----------------------------------------------
[Here|https://github.com/adelapena/cassandra/tree/17939-trunk-generate] is an
updated version of the patch using the {{generate.sh}} script to calculate the
diff. I have updated it to remove the repeated jobs that don't have any
assigned test, either manually or coming from the diff. That way, the workflow
would only show the jobs that actually have some work to do, saving us a lot of
useless container starts.
||Patch||CI without test changes||CI with test changes||
|[trunk|https://github.com/adelapena/cassandra/tree/17939-trunk-generate]|[j8_pre-commit|https://app.circleci.com/pipelines/github/adelapena/cassandra/2217/workflows/1fef5d68-c161-4cb1-9b18-e1340749ec5c]
[j11_pre-commit|https://app.circleci.com/pipelines/github/adelapena/cassandra/2217/workflows/686c2bda-26bd-41d8-85a0-9cd4324fe73f]
[j8_separate|https://app.circleci.com/pipelines/github/adelapena/cassandra/2217/workflows/4372a725-9007-40cf-853b-42448c5cb850]
[j11_separate|https://app.circleci.com/pipelines/github/adelapena/cassandra/2217/workflows/881e1d17-e017-478c-a9f3-f65f0de6db9a]|[j8_pre-commit|https://app.circleci.com/pipelines/github/adelapena/cassandra/2218/workflows/1cc5669f-e894-488d-a47c-99e2c4d32acd]
[j11_pre-commit|https://app.circleci.com/pipelines/github/adelapena/cassandra/2218/workflows/2bff8f98-29ca-4e36-ade8-a1c0de474f1a]
[j8_separate|https://app.circleci.com/pipelines/github/adelapena/cassandra/2218/workflows/2798d4df-9037-46e6-97b2-a82b346e0f9f]
[j11_separate|https://app.circleci.com/pipelines/github/adelapena/cassandra/2218/workflows/ca20dbe4-556d-4934-9bce-482ab6a9ed10]|
As before, the output of {{generate.sh}} shows what tests will be repeated.
> CircleCI: Automatically detect and repeat new or modified JUnit tests
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-17939
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17939
> Project: Cassandra
> Issue Type: Task
> Components: CI
> Reporter: Andres de la Peña
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.x
>
>
> The purpose of this ticket is adding a new CircleCI job that automatically
> detects new or modified test classes and runs them repeatedly. That way we
> wouldn't need to manually specify those tests with {{.circleci/generate.sh}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]