From 10a2cf5f76b639da13429d92f46268c4bfbdc45b Mon Sep 17 00:00:00 2001 From: Tyler Bertrand Date: Wed, 14 Aug 2024 09:06:47 -0500 Subject: [PATCH] Enable test retry --- .github/workflows/run-experiments-apache-james.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run-experiments-apache-james.yml b/.github/workflows/run-experiments-apache-james.yml index 5937d41..6f036dd 100644 --- a/.github/workflows/run-experiments-apache-james.yml +++ b/.github/workflows/run-experiments-apache-james.yml @@ -10,6 +10,7 @@ env: GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/apache/james-project" GOALS: "verify" + ARGS: "-Dsurefire.rerunFailingTestsCount=2" jobs: Experiment: @@ -37,6 +38,7 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} goals: ${{ env.GOALS }} + args: ${{ env.ARGS }} gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }} failIfNotFullyCacheable: true if: matrix.experimentId == 1 @@ -47,6 +49,7 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} goals: ${{ env.GOALS }} + args: ${{ env.ARGS }} gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }} failIfNotFullyCacheable: true if: matrix.experimentId == 2