This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 64318f78a7 HDDS-12498. Allow limiting flaky-test-check to specific
submodule (#8194)
64318f78a7 is described below
commit 64318f78a78d165e1ac969ea69aee4028c6c44e4
Author: Peter Lee <[email protected]>
AuthorDate: Mon Mar 31 03:18:44 2025 +0800
HDDS-12498. Allow limiting flaky-test-check to specific submodule (#8194)
---
.github/workflows/intermittent-test-check.yml | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/intermittent-test-check.yml
b/.github/workflows/intermittent-test-check.yml
index ee12f92ed8..b0773397f9 100644
--- a/.github/workflows/intermittent-test-check.yml
+++ b/.github/workflows/intermittent-test-check.yml
@@ -28,6 +28,10 @@ on:
description: Test Name
default: ALL
required: false
+ submodule:
+ description: Submodule
+ default: 'AUTO'
+ required: true
iterations:
description: Number of Iterations per split
default: 10
@@ -91,7 +95,7 @@ jobs:
repo: ${{ github.event.inputs.ratis-repo || format('{0}/ratis',
github.repository_owner) }}
ref: ${{ github.event.inputs.ratis-ref }}
find-tests:
- if: ${{ always() }}
+ if: ${{ always() && github.event.inputs.submodule == 'AUTO' }}
needs:
- prepare-job
runs-on: ubuntu-24.04
@@ -175,7 +179,9 @@ jobs:
args="$args -Dgrpc.protobuf-compile.version=${{
needs.ratis.outputs.protobuf-version }}"
fi
- if [[ -n "${{ needs.find-tests.outputs.modules }}" ]]; then
+ if [[ "${{ github.event.inputs.submodule }}" != "AUTO" ]]; then
+ args="$args -am -pl :${{ github.event.inputs.submodule }}"
+ elif [[ -n "${{ needs.find-tests.outputs.modules }}" ]]; then
args="$args -am -pl ${{ needs.find-tests.outputs.modules }}"
fi
@@ -248,7 +254,9 @@ jobs:
args="$args -Dgrpc.protobuf-compile.version=${{
needs.ratis.outputs.protobuf-version }}"
fi
- if [[ -n "${{ needs.find-tests.outputs.modules }}" ]]; then
+ if [[ "${{ github.event.inputs.submodule }}" != "AUTO" ]]; then
+ args="$args -pl :${{ github.event.inputs.submodule }}"
+ elif [[ -n "${{ needs.find-tests.outputs.modules }}" ]]; then
args="$args -pl ${{ needs.find-tests.outputs.modules }}"
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]