ARTEMIS-4360 Make compatibility-tests opt in with -Pcompatibility-tests

This commit is contained in:
Clebert Suconic 2023-07-11 11:35:45 -04:00 committed by clebertsuconic
parent a3c01257af
commit c9f2f53b88
3 changed files with 427 additions and 404 deletions

View File

@ -34,7 +34,7 @@ jobs:
# By setting anything to org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED we are disabling libaio loading on the testsuite
- name: Fast Tests
run: |
mvn -s .github/maven-settings.xml -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Pfast-tests install
mvn -s .github/maven-settings.xml -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Pfast-tests -Pcompatibility-tests install
- name: Clean Up Before Caching
run: |

View File

@ -1283,7 +1283,6 @@
<skipJoramTests>false</skipJoramTests>
<skipIntegrationTests>false</skipIntegrationTests>
<skipIsolatedIntegrationTests>false</skipIsolatedIntegrationTests>
<skipCompatibilityTests>false</skipCompatibilityTests>
<skipSmokeTests>false</skipSmokeTests>
<skipTimingTests>true</skipTimingTests>
<skipRestTests>false</skipRestTests>
@ -1294,6 +1293,12 @@
<skipLeakTests>false</skipLeakTests>
</properties>
</profile>
<profile>
<id>compatibility-tests</id>
<properties>
<skipCompatibilityTests>false</skipCompatibilityTests>
</properties>
</profile>
<profile>
<!-- This will represent a subset of the tests
This is used on PR checks -->

View File

@ -259,6 +259,36 @@
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>generate-depends-file</id>
<goals>
<goal>generate-depends-file</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<skipTests>${skipCompatibilityTests}</skipTests>
<argLine>${activemq-surefire-argline}</argLine>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>compatibility-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.activemq</groupId>
@ -662,22 +692,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>generate-depends-file</id>
<goals>
<goal>generate-depends-file</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<repository>
<id>jboss-releases-repository</id>