peterxcli opened a new pull request, #8194:
URL: https://github.com/apache/ozone/pull/8194
## What changes were proposed in this pull request?
Add a new input "submodule" in flaky-test-check. I think adding it after
test-name would make it easy to spot when entering inputs. Default value could
be either empty (to preserve existing behavior) or ozone-integration-test (to
cover the most frequent use case).
If input is provided, limit Maven execution to that specific module by
appending to $args:
build should also make dependencies, so add: -am -pl
test execution should skip re-building dependencies, so only add: -pl
The module name can be specified as following (note : as prefix):
`-pl :${{ github.event.inputs.submodule }}`
submodule:
- submodule == 'AUTO" (default) -> detect with find-test job
- submodule != 'AUTO" -> set `args="$args -pl ${submodule}"`
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-12498
## How was this patch tested?
Normal CI: https://github.com/peterxcli/ozone/actions/runs/14158501809
### Triggered 2x2 of TestConfigurationSource.
#### Run with `AUTO` submodule
https://github.com/peterxcli/ozone/actions/runs/14158504985
- Works as usual.
#### Run with designated submodule
https://github.com/peterxcli/ozone/actions/runs/14158510758
- It did skip the find-test step.
-

- Get a shorter execution time. 🤩
- `4m 20s` -> `1m 41s`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]