You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2013/05/29 22:50:25 UTC

svn commit: r1487639 - /webservices/axiom/trunk/pom.xml

Author: veithen
Date: Wed May 29 20:50:24 2013
New Revision: 1487639

URL: http://svn.apache.org/r1487639
Log:
Simple measure to reduce the test execution time.

Modified:
    webservices/axiom/trunk/pom.xml

Modified: webservices/axiom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/pom.xml?rev=1487639&r1=1487638&r2=1487639&view=diff
==============================================================================
--- webservices/axiom/trunk/pom.xml (original)
+++ webservices/axiom/trunk/pom.xml Wed May 29 20:50:24 2013
@@ -407,7 +407,12 @@
                         <includes>
                             <include>**/*Test.java</include>
                         </includes>
-                        <argLine>${jacoco.surefireArgLine}</argLine>
+                        <!-- Keep heap size small. We have some unit tests that deal with volumes
+                             of data proportional to the heap size (to test that Axiom is streaming
+                             the data instead of loading it into memory). Obviously, the execution time of
+                             these tests also are proportional to the heap size. To accelerate the execution
+                             of the tests, we should use a heap size as small as possible. -->
+                        <argLine>-Xms16m -Xmx32m ${jacoco.surefireArgLine}</argLine>
                         <systemProperties>
                             <property>
                                 <name>java.io.tmpdir</name>