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/05/09 15:56:21 UTC

[maven-surefire] 02/02: IT fix

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

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

commit 1d1d7584fec8f5755d209190de59f6b1f9759d3c
Author: tibordigana <ti...@apache.org>
AuthorDate: Thu May 9 17:55:50 2019 +0200

    IT fix
---
 surefire-its/pom.xml                                                   | 2 +-
 .../src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java       | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/surefire-its/pom.xml b/surefire-its/pom.xml
index 2da331f..ca7ef60 100644
--- a/surefire-its/pom.xml
+++ b/surefire-its/pom.xml
@@ -170,7 +170,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/**/*IT*.java</include>
+                        <include>org/apache/**/UmlautDirIT.java</include>
                     </includes>
                     <!-- Pass current surefire version to the main suite so that it -->
                     <!-- can forward to all integration test projects. SUREFIRE-513 -->
diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java
index 3690492..2d71d3e 100644
--- a/surefire-its/src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java
+++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java
@@ -73,6 +73,7 @@ public class UmlautDirIT extends SurefireJUnit4IntegrationTestCase
     {
         assumeTrue( IS_OS_LINUX );
         unpackWithNewLocalRepo()
+                .debugLogging()
                 .executeTest()
                 .verifyErrorFreeLog()
                 .assertTestSuiteResults( 1, 0, 0, 0 );
@@ -113,7 +114,7 @@ public class UmlautDirIT extends SurefireJUnit4IntegrationTestCase
     {
         String newLocalRepo =
                 Paths.get( System.getProperty( "user.dir" ), "target", "local repo for : SUREFIRE-1617" ).toString();
-        String defaultLocalRepo = new MavenLauncher( getClass(), "", null ).getLocalRepository();
+        String defaultLocalRepo = new MavenLauncher( getClass(), "junit-pathWithUmlaut", null ).getLocalRepository();
 
         copyFolder( Paths.get( defaultLocalRepo, "org", "apache", "maven", "surefire" ),
                 Paths.get( newLocalRepo, "org", "apache", "maven", "surefire" ) );