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 2017/04/01 13:10:27 UTC
[1/3] maven-surefire git commit: [SUREFIRE-1350] Upgrade Version of
maven-invoker-plugin to 2.0.0
Repository: maven-surefire
Updated Branches:
refs/heads/master 67e61b07e -> dc3f3674e
[SUREFIRE-1350] Upgrade Version of maven-invoker-plugin to 2.0.0
Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/40f38c52
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/40f38c52
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/40f38c52
Branch: refs/heads/master
Commit: 40f38c521b839d80a04f0f0de3deebb8009370f3
Parents: 67e61b0
Author: Tibor17 <ti...@lycos.com>
Authored: Sat Apr 1 14:52:44 2017 +0200
Committer: Tibor17 <ti...@lycos.com>
Committed: Sat Apr 1 14:52:44 2017 +0200
----------------------------------------------------------------------
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/40f38c52/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index df9d79b..41e5a5a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -325,7 +325,7 @@
</plugin>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
- <version>1.10</version>
+ <version>2.0.0</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
[3/3] maven-surefire git commit: [SUREFIRE-1351] Performance unit
tests should GC to free limited memory size.
Posted by ti...@apache.org.
[SUREFIRE-1351] Performance unit tests should GC to free limited memory size.
Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/dc3f3674
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/dc3f3674
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/dc3f3674
Branch: refs/heads/master
Commit: dc3f3674e17c3502312a88385272c6add9d4b4ad
Parents: 561c696
Author: Tibor17 <ti...@lycos.com>
Authored: Sat Apr 1 15:05:02 2017 +0200
Committer: Tibor17 <ti...@lycos.com>
Committed: Sat Apr 1 15:09:05 2017 +0200
----------------------------------------------------------------------
surefire-providers/surefire-junit47/pom.xml | 1 +
.../surefire/junitcore/pc/ParallelComputerBuilderTest.java | 5 +++--
.../maven/surefire/junitcore/pc/ParallelComputerUtilTest.java | 3 +++
3 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/dc3f3674/surefire-providers/surefire-junit47/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-providers/surefire-junit47/pom.xml b/surefire-providers/surefire-junit47/pom.xml
index 919c525..91dc0c1 100644
--- a/surefire-providers/surefire-junit47/pom.xml
+++ b/surefire-providers/surefire-junit47/pom.xml
@@ -128,6 +128,7 @@
<includes>
<include>**/JUnit47SuiteTest.java</include>
</includes>
+ <argLine>-Xms256m -Xmx256m</argLine>
</configuration>
</plugin>
<plugin>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/dc3f3674/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerBuilderTest.java
----------------------------------------------------------------------
diff --git a/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerBuilderTest.java b/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerBuilderTest.java
index 5184cdd..0af17cd 100644
--- a/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerBuilderTest.java
+++ b/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerBuilderTest.java
@@ -91,8 +91,7 @@ public class ParallelComputerBuilderTest
}
@Before
- public void beforeTest()
- {
+ public void beforeTest() throws InterruptedException {
Class1.maxConcurrentMethods = 0;
Class1.concurrentMethods = 0;
shutdownTask = null;
@@ -101,6 +100,8 @@ public class ParallelComputerBuilderTest
NotThreadSafeTest3.t = null;
NormalTest1.t = null;
NormalTest2.t = null;
+ System.gc();
+ Thread.sleep( 50L );
}
@Test
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/dc3f3674/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerUtilTest.java
----------------------------------------------------------------------
diff --git a/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerUtilTest.java b/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerUtilTest.java
index 15daac9..e41dbaa 100644
--- a/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerUtilTest.java
+++ b/surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/pc/ParallelComputerUtilTest.java
@@ -87,7 +87,10 @@ public final class ParallelComputerUtilTest
@Before
public void beforeTest()
+ throws InterruptedException
{
+ System.gc();
+ Thread.sleep( 50L );
assertFalse( Thread.currentThread().isInterrupted() );
}
[2/3] maven-surefire git commit: improve verify.bsh to verify in
maven-invoker-plugin
Posted by ti...@apache.org.
improve verify.bsh to verify in maven-invoker-plugin
Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/561c6965
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/561c6965
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/561c6965
Branch: refs/heads/master
Commit: 561c696523bf431c65ca1c6eef88a66599f94105
Parents: 40f38c5
Author: Tibor17 <ti...@lycos.com>
Authored: Sat Apr 1 14:54:03 2017 +0200
Committer: Tibor17 <ti...@lycos.com>
Committed: Sat Apr 1 14:54:03 2017 +0200
----------------------------------------------------------------------
maven-failsafe-plugin/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/561c6965/maven-failsafe-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/maven-failsafe-plugin/pom.xml b/maven-failsafe-plugin/pom.xml
index a5d41ff..dc1df6d 100644
--- a/maven-failsafe-plugin/pom.xml
+++ b/maven-failsafe-plugin/pom.xml
@@ -291,7 +291,7 @@
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
- <postBuildHookScript>verify.bsh</postBuildHookScript>
+ <postBuildHookScript>verify</postBuildHookScript>
<settingsFile>src/it/settings.xml</settingsFile>
<skipInvocation>${skipTests}</skipInvocation>
<streamLogs>false</streamLogs>