You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2012/10/03 13:53:34 UTC

svn commit: r1393443 - /activemq/trunk/activemq-core/pom.xml

Author: gtully
Date: Wed Oct  3 11:53:33 2012
New Revision: 1393443

URL: http://svn.apache.org/viewvc?rev=1393443&view=rev
Log:
ensure slow-tests profile overrides excludes and runs all tests - duplicate the config in that profile, so order is the same etc; don't see another way atm

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

Modified: activemq/trunk/activemq-core/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/pom.xml?rev=1393443&r1=1393442&r2=1393443&view=diff
==============================================================================
--- activemq/trunk/activemq-core/pom.xml (original)
+++ activemq/trunk/activemq-core/pom.xml Wed Oct  3 11:53:33 2012
@@ -475,9 +475,6 @@
             -->
           </systemProperties>
 
-          <includes>
-            <include>**/*Test.*</include>
-          </includes>
           <excludes>
             <exclude>**/perf/SimpleDurableTopicTest.*</exclude>
             <!-- These tests run too slow to execute as part of the unit tests -->
@@ -1111,7 +1108,27 @@
         <plugins>
           <plugin>
             <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
+            <!-- not ideal to have to duplicate the config but the excludes don't override otherwise -->
+            <executions>
+             <execution>
+              <id>default-test</id>
+              <phase>test</phase>
+              <goals>
+               <goal>test</goal>
+              </goals>
+              <configuration>
+                <forkMode>pertest</forkMode>
+                <childDelegation>false</childDelegation>
+                <useFile>true</useFile>
+                <argLine>${surefire.argLine}</argLine>
+                <useManifestOnlyJar>false</useManifestOnlyJar>
+                <runOrder>alphabetical</runOrder>
+                <systemProperties>
+                  <property>
+                   <name>org.apache.activemq.default.directory.prefix</name>
+                   <value>target/</value>
+                   </property>
+                </systemProperties>
               <excludes>
                 <exclude>**/perf/SimpleDurableTopicTest.*</exclude>
                 <!-- These tests run too slow to execute as part of the unit tests -->
@@ -1185,6 +1202,8 @@
                 <exclude>org/apache/activemq/broker/ft/DbRestartJDBCQueueTest.*</exclude>
             </excludes>
             </configuration>
+            </execution>
+           </executions>
           </plugin>
         </plugins>
       </build>