From 02cca4dc3fba70a17b3a8fecc07c374a35e49d15 Mon Sep 17 00:00:00 2001 From: tibordigana Date: Tue, 9 Jun 2020 22:16:10 +0200 Subject: [PATCH] [GH] performance problem on Windows nodes --- surefire-its/src/test/resources/fail-fast-testng/pom.xml | 1 + .../resources/fail-fast-testng/src/test/java/pkg/ATest.java | 2 +- .../resources/fail-fast-testng/src/test/java/pkg/BTest.java | 2 +- .../resources/fail-fast-testng/src/test/java/pkg/CTest.java | 2 +- .../resources/fail-fast-testng/src/test/java/pkg/DTest.java | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/surefire-its/src/test/resources/fail-fast-testng/pom.xml b/surefire-its/src/test/resources/fail-fast-testng/pom.xml index ed07d8ae3e..c89140776c 100644 --- a/surefire-its/src/test/resources/fail-fast-testng/pom.xml +++ b/surefire-its/src/test/resources/fail-fast-testng/pom.xml @@ -51,6 +51,7 @@ alphabetical once + -Xms64m -Xmx128m diff --git a/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java b/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java index 45b772a07d..6cd8516b92 100644 --- a/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java +++ b/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java @@ -10,7 +10,7 @@ public class ATest public void someMethod() throws InterruptedException { - MILLISECONDS.sleep( 3600L ); + MILLISECONDS.sleep( 4_800L ); throw new RuntimeException( "assert \"foo\" == \"bar\"\n" + " |\n" + " false" ); diff --git a/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/BTest.java b/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/BTest.java index 511a146720..7b4080622a 100644 --- a/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/BTest.java +++ b/surefire-its/src/test/resources/fail-fast-testng/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-testng/src/test/java/pkg/CTest.java b/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/CTest.java index 7270162120..f1aeafbedf 100644 --- a/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/CTest.java +++ b/surefire-its/src/test/resources/fail-fast-testng/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-testng/src/test/java/pkg/DTest.java b/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/DTest.java index cf5bfedab3..64cfaa63de 100644 --- a/surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/DTest.java +++ b/surefire-its/src/test/resources/fail-fast-testng/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 ); } }