continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From batkin...@apache.org
Subject svn commit: r1656149 - /continuum/trunk/continuum-core/pom.xml
Date Sat, 31 Jan 2015 03:33:11 GMT
Author: batkinson
Date: Sat Jan 31 03:33:11 2015
New Revision: 1656149

URL: http://svn.apache.org/r1656149
Log:
Run cleanup test as separate low-memory execution, only on unix.

Modified:
    continuum/trunk/continuum-core/pom.xml

Modified: continuum/trunk/continuum-core/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/pom.xml?rev=1656149&r1=1656148&r2=1656149&view=diff
==============================================================================
--- continuum/trunk/continuum-core/pom.xml (original)
+++ continuum/trunk/continuum-core/pom.xml Sat Jan 31 03:33:11 2015
@@ -319,15 +319,21 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <!-- this test only test cancelling Taskqueue implementation from plexus-task
-->
-            <exclude>**/BuildProjectTaskExecutorTest.*</exclude>
-            <!-- CONTINUUM-2559 -->
-            <exclude>**/MailContinuumNotifierTest.*</exclude>
-            <exclude>**/CleanWorkingDirectoryActionTest.*</exclude>
-          </excludes>
-        </configuration>
+        <executions>
+          <execution>
+            <id>default-test</id>
+            <configuration>
+              <excludes>
+                <!-- this test only test cancelling Taskqueue implementation from plexus-task
-->
+                <exclude>**/BuildProjectTaskExecutorTest.*</exclude>
+                <!-- CONTINUUM-2559 -->
+                <exclude>**/MailContinuumNotifierTest.*</exclude>
+                <!-- Requires low memory for meaningful result -->
+                <exclude>**/CleanWorkingDirectoryActionTest.*</exclude>
+              </excludes>
+            </configuration>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
     <pluginManagement>
@@ -346,17 +352,32 @@
   </build>
   <profiles>
     <profile>
-      <id>it</id>
+      <id>lowmem-test</id>
+      <activation>
+        <os>
+          <family>unix</family>
+        </os>
+      </activation>
       <build>
         <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <argLine>-Xmx512m</argLine>
-              <childDelegation>true</childDelegation>
-            </configuration>
-          </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>lowmem-test</id>
+                        <goals>
+                            <goal>test</goal>
+                        </goals>
+                        <configuration>
+                            <argLine>-Xmx2m -Xms2m</argLine>
+                            <includes>
+                                <include>**/CleanWorkingDirectoryActionTest.*</include>
+                            </includes>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
       </build>
     </profile>



Mime
View raw message