You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/12/23 01:38:28 UTC

[maven-surefire] 02/02: running all build

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

tibordigana pushed a commit to branch cli
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit cfd19ab7c44e664f5acb1e118eddcfffce4d0a3e
Author: tibordigana <ti...@apache.org>
AuthorDate: Mon Dec 23 02:37:45 2019 +0100

    running all build
---
 surefire-its/pom.xml                                               | 7 +++----
 .../its/jiras/Surefire735ForkFailWithRedirectConsoleOutputIT.java  | 2 --
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/surefire-its/pom.xml b/surefire-its/pom.xml
index 05e50a2..a49244f 100644
--- a/surefire-its/pom.xml
+++ b/surefire-its/pom.xml
@@ -167,8 +167,7 @@
                 <artifactId>maven-failsafe-plugin</artifactId>
                 <version>3.0.0-M4</version> <!-- ${shadedVersion}, but resolved due to https://issues.apache.org/jira/browse/MRELEASE-799 -->
                 <configuration>
-                    <skipITs>false</skipITs>
-                    <skipTests>false</skipTests>
+                    <skipTests>${skipTests}</skipTests>
                     <jvm>${jdk.home}/bin/java</jvm>
                     <runOrder>alphabetical</runOrder>
                     <threadCount>1</threadCount>
@@ -176,7 +175,7 @@
                     <forkMode>once</forkMode>
                     <argLine>-server -Xmx64m -XX:+UseG1GC -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
                     <includes>
-                        <include>org/apache/**/Surefire735ForkFailWithRedirectConsoleOutputIT.java</include>
+                        <include>org/apache/**/*IT*.java</include>
                     </includes>
                     <!-- Pass current surefire version to the main suite so that it -->
                     <!-- can forward to all integration test projects. SUREFIRE-513 -->
@@ -193,7 +192,7 @@
                         <!-- see the f/w com.googlecode.junit-toolbox:junit-toolbox -->
                         <maxParallelTestThreads>3</maxParallelTestThreads>
                     </systemPropertyVariables>
-<!--                    <redirectTestOutputToFile>true</redirectTestOutputToFile>-->
+                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
                 </configuration>
                 <dependencies>
                     <dependency>
diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire735ForkFailWithRedirectConsoleOutputIT.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire735ForkFailWithRedirectConsoleOutputIT.java
index 81d80ea..ff5d14a 100644
--- a/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire735ForkFailWithRedirectConsoleOutputIT.java
+++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire735ForkFailWithRedirectConsoleOutputIT.java
@@ -39,7 +39,6 @@ public class Surefire735ForkFailWithRedirectConsoleOutputIT
     @Test
     public void vmStartFail()
     {
-        System.out.println( "verifier.forkMode=" + System.getProperty( "verifier.forkMode" ) );
         OutputValidator outputValidator = unpack().failNever().executeTest();
         assertJvmCrashed( outputValidator );
     }
@@ -47,7 +46,6 @@ public class Surefire735ForkFailWithRedirectConsoleOutputIT
     @Test
     public void vmStartFailShouldFailBuildk()
     {
-        System.out.println( "verifier.forkMode=" + System.getProperty( "verifier.forkMode" ) );
         OutputValidator outputValidator = unpack().maven().withFailure().executeTest();
         assertJvmCrashed( outputValidator );
     }