On 10/19/2009 11:27 AM, vmassol (SVN) wrote:
Author: vmassol
Date: 2009-10-19 11:27:22 +0200 (Mon, 19 Oct 2009)
New Revision: 24562
Modified:
platform/core/branches/xwiki-core-2.0/xwiki-core/pom.xml
Log:
XWIKI-4496: Unit tests need more heap space
* Isolate tests.
Merged from trunk (rev 24561)
Modified: platform/core/branches/xwiki-core-2.0/xwiki-core/pom.xml
===================================================================
--- platform/core/branches/xwiki-core-2.0/xwiki-core/pom.xml 2009-10-19 09:23:06 UTC (rev
24561)
+++ platform/core/branches/xwiki-core-2.0/xwiki-core/pom.xml 2009-10-19 09:27:22 UTC (rev
24562)
@@ -819,6 +819,14 @@
</dependencies>
<build>
<plugins>
+<plugin>
+<groupId>org.apache.maven.plugins</groupId>
+<artifactId>maven-surefire-plugin</artifactId>
+<configuration>
+<!-- Prevent Out Of Memory errors resulting from tests that do no free up the memory
correctly -->
+<forkMode>pertest</forkMode>
Does this affect performace? As in longer time to run the tests?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/