You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2020/08/26 12:04:52 UTC

[logging-log4j2] branch master updated: Don't ignore test failures at build.

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/master by this push:
     new a051e53  Don't ignore test failures at build.
a051e53 is described below

commit a051e533f57b8e8e66ba8474f6873f6da1e868f5
Author: Volkan Yazıcı <vo...@gmail.com>
AuthorDate: Wed Aug 26 14:03:42 2020 +0200

    Don't ignore test failures at build.
---
 .github/workflows/maven.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 5647d10..f2ad5ba 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -44,7 +44,7 @@ jobs:
 
       - name: Build with Maven (Linux)
         if: runner.os == 'Linux'
-        run: ./mvnw -V -B -e -DtrimStackTrace=false -Dmaven.test.failure.ignore=true -Dsurefire.rerunFailingTestsCount=1 --global-toolchains .github/workflows/maven-toolchains.xml verify
+        run: ./mvnw -V -B -e -DtrimStackTrace=false -Dsurefire.rerunFailingTestsCount=2 --global-toolchains .github/workflows/maven-toolchains.xml verify
 
       - name: Publish Test Results (Linux)
         if: runner.os == 'Linux'
@@ -60,7 +60,7 @@ jobs:
 
       - name: Build with Maven (Windows)
         if: runner.os == 'Windows'
-        run: ./mvnw -V -B -e -DtrimStackTrace=false "-Dmaven.test.failure.ignore=true" "-Dsurefire.rerunFailingTestsCount=1" --global-toolchains ".github\workflows\maven-toolchains.xml" verify
+        run: ./mvnw -V -B -e -DtrimStackTrace=false "-Dsurefire.rerunFailingTestsCount=2" --global-toolchains ".github\workflows\maven-toolchains.xml" verify
 
       - name: Publish Test Results (Windows)
         if: runner.os == 'Windows'
@@ -76,7 +76,7 @@ jobs:
 
       - name: Build with Maven (MacOS)
         if: runner.os == 'macOS'
-        run: ./mvnw -V -B -e -DtrimStackTrace=false -Dmaven.test.failure.ignore=true -Dsurefire.rerunFailingTestsCount=1 --global-toolchains .github/workflows/maven-toolchains.xml verify
+        run: ./mvnw -V -B -e -DtrimStackTrace=false -Dsurefire.rerunFailingTestsCount=2 --global-toolchains .github/workflows/maven-toolchains.xml verify
 
       - name: Publish Test Results (MacOS)
         if: runner.os == 'macOS'