Skip to content

Commit 02cca4d

Browse files
committed
[GH] performance problem on Windows nodes
1 parent e8f65b9 commit 02cca4d

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

surefire-its/src/test/resources/fail-fast-testng/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<configuration>
5252
<runOrder>alphabetical</runOrder>
5353
<forkMode>once</forkMode><!--override to default value in order to enable forkCount-->
54+
<argLine>-Xms64m -Xmx128m</argLine>
5455
</configuration>
5556
</plugin>
5657
</plugins>

surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class ATest
1010
public void someMethod()
1111
throws InterruptedException
1212
{
13-
MILLISECONDS.sleep( 3600L );
13+
MILLISECONDS.sleep( 4_800L );
1414
throw new RuntimeException( "assert \"foo\" == \"bar\"\n"
1515
+ " |\n"
1616
+ " false" );

surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/BTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class BTest
1010
public void test()
1111
throws InterruptedException
1212
{
13-
MILLISECONDS.sleep( 9000L );
13+
MILLISECONDS.sleep( 12_000L );
1414
throw new RuntimeException();
1515
}
1616

surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/CTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class CTest
1010
public void test()
1111
throws InterruptedException
1212
{
13-
MILLISECONDS.sleep( 9000L );
13+
MILLISECONDS.sleep( 12_000L );
1414
}
1515

1616
}

surefire-its/src/test/resources/fail-fast-testng/src/test/java/pkg/DTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class DTest
1010
public void test()
1111
throws InterruptedException
1212
{
13-
MILLISECONDS.sleep( 9000L );
13+
MILLISECONDS.sleep( 12_000L );
1414
}
1515

1616
}

0 commit comments

Comments
 (0)