Add flaky retry/reporting to store model test (#16275)

This commit is contained in:
Stian Thorgersen 2023-01-06 09:15:01 +01:00 committed by GitHub
parent c2682157fb
commit 1cf7535c90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -16,7 +16,7 @@ runs:
run: | run: |
FLAKES="" FLAKES=""
SEP="" SEP=""
for dir in $(find -type d -name surefire-reports); do for dir in $(find -type d -name 'surefire-reports*'); do
for i in $(grep -l '<flakyFailure' $dir/TEST-*.xml); do for i in $(grep -l '<flakyFailure' $dir/TEST-*.xml); do
FLAKES="$FLAKES$SEP$i" FLAKES="$FLAKES$SEP$i"
SEP=$'\n' SEP=$'\n'

View file

@ -318,12 +318,19 @@ jobs:
uses: ./.github/actions/integration-test-setup uses: ./.github/actions/integration-test-setup
- name: Run model tests - name: Run model tests
run: testsuite/model/test-all-profiles.sh run: testsuite/model/test-all-profiles.sh -Dsurefire.rerunFailingTestsCount=${{ env.SUREFIRE_RERUN_FAILING_COUNT }}
- name: Upload JVM Heapdumps - name: Upload JVM Heapdumps
if: always() if: always()
uses: ./.github/actions/upload-heapdumps uses: ./.github/actions/upload-heapdumps
- uses: ./.github/actions/upload-flaky-tests
name: Upload flaky tests
env:
GH_TOKEN: ${{ github.token }}
with:
job-name: Store Model Tests
clustering-integration-tests: clustering-integration-tests:
name: Legacy Clustering IT name: Legacy Clustering IT
needs: build needs: build