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 2020/05/31 11:23:48 UTC

[maven-surefire] 01/01: [GH] performance problem on Windows nodes

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

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

commit 62c6b3ead883d136d2e6119413802de93bbd8727
Author: tibordigana <ti...@apache.org>
AuthorDate: Sat May 30 21:54:15 2020 +0200

    [GH] performance problem on Windows nodes
---
 surefire-its/src/test/resources/fail-fast-junit/pom.xml               | 2 +-
 .../src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java   | 4 ++--
 .../src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java   | 2 +-
 .../src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java   | 2 +-
 .../src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java   | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/surefire-its/src/test/resources/fail-fast-junit/pom.xml b/surefire-its/src/test/resources/fail-fast-junit/pom.xml
index 0556f4c..6dca1d5 100644
--- a/surefire-its/src/test/resources/fail-fast-junit/pom.xml
+++ b/surefire-its/src/test/resources/fail-fast-junit/pom.xml
@@ -54,7 +54,7 @@
         <configuration>
           <runOrder>alphabetical</runOrder>
           <forkMode>once</forkMode><!--override to default value in order to enable forkCount-->
-          <argLine>-Xms16m -Xmx32m</argLine>
+          <argLine>-Xms64m -Xmx128m</argLine>
         </configuration>
       </plugin>
     </plugins>
diff --git a/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java b/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java
index 69c1ce0..911853f 100644
--- a/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java
+++ b/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java
@@ -10,9 +10,9 @@ public class ATest
     public void someMethod()
         throws InterruptedException
     {
-        MILLISECONDS.sleep( 3600L );
+        MILLISECONDS.sleep( 4_800L );
         throw new RuntimeException( "assert \"foo\" == \"bar\"\n" +
                                         "             |\n"
                                         + "             false" );
     }
-}
\ No newline at end of file
+}
diff --git a/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java b/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java
index e04f864..3590bf5 100644
--- a/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java
+++ b/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java
@@ -10,7 +10,7 @@ public class BTest
     public void test()
         throws InterruptedException
     {
-        MILLISECONDS.sleep( 9000L );
+        MILLISECONDS.sleep( 12_000L );
         throw new RuntimeException();
     }
 
diff --git a/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java b/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java
index 5b5c2ef..6927513 100644
--- a/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java
+++ b/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java
@@ -10,7 +10,7 @@ public class CTest
     public void test()
         throws InterruptedException
     {
-        MILLISECONDS.sleep( 9000L );
+        MILLISECONDS.sleep( 12_000L );
     }
 
 }
diff --git a/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java b/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java
index 13674ae..2f971aa 100644
--- a/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java
+++ b/surefire-its/src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java
@@ -10,7 +10,7 @@ public class DTest
     public void test()
         throws InterruptedException
     {
-        MILLISECONDS.sleep( 9000L );
+        MILLISECONDS.sleep( 12_000L );
     }
 
 }