[
https://issues.apache.org/jira/browse/HDDS-12574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-12574:
------------------------------------
Summary: Add script to find modules by test classes (was: Speed up
flaky-test-check workflow in CI)
> Add script to find modules by test classes
> ------------------------------------------
>
> Key: HDDS-12574
> URL: https://issues.apache.org/jira/browse/HDDS-12574
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: CI
> Reporter: Peter Lee
> Assignee: Peter Lee
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
>
> Since flaky-test-check workflow run with designated TestClass, so we can find
> which package the TestClass belongs to then use -pl args to only build
> necessary packages
>
> I made a POC which shows great improvement in test running time:
> Test with TestDeadNodeHandler
> * run with master CI file:
> [https://github.com/peterxcli/ozone/actions/runs/13817211733] (takes 19mins
> * run with speedup-flaky-test-check-in-ci POC branch:
> [https://github.com/peterxcli/ozone/actions/runs/13817907647] (takes 8mins
>
> This POC also support duplicated class name across different packages, and
> the wildcard matching
>
> POC git diff:
> [https://github.com/apache/ozone/compare/master...peterxcli:ozone:speedup-flaky-test-check-in-ci?expand=1]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]