ci: Fix arg for re-running server unit-tests

This commit is contained in:
Shrikant Sharat Kandula 2024-02-27 19:09:37 +05:30 committed by GitHub
parent e1f9f13dc4
commit c66990d64d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -178,7 +178,7 @@ jobs:
args=()
if [[ "${{ steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
failed_tests="${{ steps.failed_tests.outputs.tests }}"
args+=("-DfailIfNoTests=false" "-Dtest=${failed_tests}")
args+=("-DfailIfNoTests=false" "-Dsurefire.failIfNoSpecifiedTests=false" "-Dtest=${failed_tests}")
fi
args+=("-DtestResultFile=$PWD/failed-server-tests.txt")
if ! mvn test "${args[@]}"; then