Fix for bug 28 05/605/1
authorPrasanth Pallamreddy <ppallamr@cisco.com>
Tue, 16 Jul 2013 21:16:48 +0000 (14:16 -0700)
committerPrasanth Pallamreddy <ppallamr@cisco.com>
Tue, 16 Jul 2013 21:16:48 +0000 (14:16 -0700)
https://bugs.opendaylight.org/show_bug.cgi?id=28
Updated surefire and failsafe plugin configurations to set heap to 1gb and
permgen to 256mb.  These settings allow the Northbound integration tests to
pass in both unit test and integration modes.

Change-Id: I06f5254458db65c06b84076d6f3022cdcd983cf6
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
opendaylight/commons/opendaylight/pom.xml

index 98e1d1ab909e945c30f75d3db67bfdb43d4bb654..33218808a84773e0a6b884eee204a1193763c8c3 100644 (file)
@@ -40,6 +40,7 @@
     <virgo.version>3.6.0.RELEASE</virgo.version>
     <geminiweb.version>2.2.0.RELEASE</geminiweb.version>
     <checkstyle.version>2.10</checkstyle.version>
+    <testvm.argLine>-Xmx1024m -XX:MaxPermSize=256m</testvm.argLine>
   </properties>
 
   <pluginRepositories>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-failsafe-plugin</artifactId>
         <version>${failsafe.version}</version>
+        <configuration>
+          <argLine>${testvm.argLine}</argLine>
+        </configuration>
         <executions>
           <execution>
             <goals>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <version>${surefire.version}</version>
+        <configuration>
+          <argLine>${testvm.argLine}</argLine>
+        </configuration>
       </plugin>
     </plugins>
     <pluginManagement>