You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ro...@apache.org on 2021/08/04 16:56:47 UTC

[activemq-artemis] branch main updated: ARTEMIS-3302: enable some integration tests (primarily TLS+security) in the fast-tests profile

This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 828d494  ARTEMIS-3302: enable some integration tests (primarily TLS+security) in the fast-tests profile
828d494 is described below

commit 828d4940ec208c41189c650c99bd979cc7a38bd8
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Wed Aug 4 15:01:28 2021 +0100

    ARTEMIS-3302: enable some integration tests (primarily TLS+security) in the fast-tests profile
    
    Help catch issues in these areas on PR runs rather than full builds.
---
 pom.xml                         |  4 ++++
 tests/integration-tests/pom.xml | 22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/pom.xml b/pom.xml
index 4151d16..46b66ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1120,6 +1120,10 @@
             <skipLicenseCheck>false</skipLicenseCheck>
             <skipCompatibilityTests>false</skipCompatibilityTests>
             <testFailureIgnore>false</testFailureIgnore>
+            <!-- This enables the karaf-client-integration-tests and
+                 integration-tests module tests, see fast-tests profile
+                 in the latter for specific tests it then runs -->
+            <skipIntegrationTests>false</skipIntegrationTests>
          </properties>
       </profile>
       <profile>
diff --git a/tests/integration-tests/pom.xml b/tests/integration-tests/pom.xml
index 7517eee..0d9a4f6 100644
--- a/tests/integration-tests/pom.xml
+++ b/tests/integration-tests/pom.xml
@@ -565,6 +565,28 @@
    </build>
    <profiles>
       <profile>
+         <!-- Quick subset of tests, used on PR checks -->
+         <id>fast-tests</id>
+         <build>
+            <pluginManagement>
+               <plugins>
+                  <plugin>
+                     <groupId>org.apache.maven.plugins</groupId>
+                     <artifactId>maven-surefire-plugin</artifactId>
+                     <configuration>
+                        <includes combine.children="override">
+                           <include>**/integration/security/*Test.java</include>
+                           <include>**/integration/ssl/*Test.java</include>
+                           <include>**/integration/amqp/JMSSaslExternalTest.java</include>
+                           <include>**/integration/amqp/connect/AMQPConnectSaslTest.java</include>
+                        </includes>
+                     </configuration>
+                  </plugin>
+               </plugins>
+            </pluginManagement>
+         </build>
+      </profile>
+      <profile>
          <id>jdk16on</id>
             <activation>
          <jdk>[16,)</jdk>