[ https://issues.apache.org/jira/browse/HDDS-12498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935289#comment-17935289 ]
Peter Lee edited comment on HDDS-12498 at 3/13/25 5:36 PM: ----------------------------------------------------------- [~adoroszlai] I think we can use this `submodule` to decide either to run auto detect https://issues.apache.org/jira/browse/HDDS-12587 or to run with designated project name. eg. submodule: - submodule == 'AUTO" (default) -> detect with https://issues.apache.org/jira/browse/HDDS-12587 (run find-test job - submodule != 'AUTO" -> set `args="$args -pl ${submodule}"` was (Author: JIRAUSER306303): [~adoroszlai] I think we can use this `submodule` to decide either run auto detect https://issues.apache.org/jira/browse/HDDS-12587 or run with designated project name. eg. submodule: - submodule == 'AUTO" (default) -> detect with https://issues.apache.org/jira/browse/HDDS-12587 (run find-test job - submodule != 'AUTO" -> set `args="$args -pl ${submodule}"` > Allow limiting flaky-test-check to specific submodule > ----------------------------------------------------- > > Key: HDDS-12498 > URL: https://issues.apache.org/jira/browse/HDDS-12498 > Project: Apache Ozone > Issue Type: Sub-task > Components: CI > Reporter: Attila Doroszlai > Assignee: Peter Lee > Priority: Major > > - Add a new input "{{submodule}}" in flaky-test-check. I think adding it > after > [{{test-name}}|https://github.com/apache/ozone/blob/978e4a7eb6414be54c143383714e4f4af8464240/.github/workflows/intermittent-test-check.yml#L23-L30] > 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|https://github.com/apache/ozone/blob/978e4a7eb6414be54c143383714e4f4af8464240/.github/workflows/intermittent-test-check.yml#L116-L127] > should also make dependencies, so add: {{-am -pl}} > -- [test > execution|https://github.com/apache/ozone/blob/978e4a7eb6414be54c143383714e4f4af8464240/.github/workflows/intermittent-test-check.yml#L180-L203] > should skip re-building dependencies, so only add: {{-pl}} > The module name can be specified as following (note {{:}} as prefix): > {code} > -pl :${{ github.event.inputs.submodule }} > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org