This is an automated email from the ASF dual-hosted git repository.
davidarthur pushed a commit to branch KAFKA-17506-flaky-ZkMigrationFailoverTest
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to
refs/heads/KAFKA-17506-flaky-ZkMigrationFailoverTest by this push:
new a4802b0c053 fixup deflake workflow
a4802b0c053 is described below
commit a4802b0c0536ccdb52f22f9a98c824597f8b95e6
Author: David Arthur <[email protected]>
AuthorDate: Mon Sep 9 20:32:11 2024 -0400
fixup deflake workflow
---
.github/workflows/deflake.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/deflake.yml b/.github/workflows/deflake.yml
index a87b9fe3ed8..d41cacdf96c 100644
--- a/.github/workflows/deflake.yml
+++ b/.github/workflows/deflake.yml
@@ -53,14 +53,17 @@ jobs:
develocity-access-key: ${{ secrets.GE_ACCESS_TOKEN }}
- name: Test
timeout-minutes: 60
+ id: junit-test
run: |
+ set +e
./gradlew --info --build-cache --scan --continue \
-PtestLoggingEvents=started,passed,skipped,failed \
-PignoreFailures=true -PmaxParallelForks=2 \
-Pkafka.cluster.test.repeat=${{ inputs.test-repeat }} \
${{ inputs.test-module }}:test --tests ${{ inputs.test-pattern }}
+ exitcode="$?"
+ echo "exitcode=$exitcode" >> $GITHUB_OUTPUT
- name: Archive JUnit reports
- if: always()
uses: actions/upload-artifact@v4
id: junit-upload-artifact
with:
@@ -69,8 +72,8 @@ jobs:
**/build/reports/tests/test/*
if-no-files-found: ignore
- name: Parse JUnit tests
- if: always()
run: python .github/scripts/junit.py >> $GITHUB_STEP_SUMMARY
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
REPORT_URL: ${{ steps.junit-upload-artifact.outputs.artifact-url }}
+ GRADLE_EXIT_CODE: ${{ steps.junit-test.outputs.exitcode }}