activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1393443 - /activemq/trunk/activemq-core/pom.xml
Date Wed, 03 Oct 2012 11:53:34 GMT
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>



Mime
View raw message