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 # By setting anything to org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED we are disabling libaio loading on the testsuite
- name: Fast Tests - name: Fast Tests
run: | 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 - name: Clean Up Before Caching
run: | run: |

View File

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

View File

@ -259,6 +259,36 @@
<filtering>true</filtering> <filtering>true</filtering>
</testResource> </testResource>
</testResources> </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> <plugins>
<plugin> <plugin>
<groupId>org.apache.activemq</groupId> <groupId>org.apache.activemq</groupId>
@ -662,22 +692,10 @@
</execution> </execution>
</executions> </executions>
</plugin> </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> </plugins>
</build> </build>
</profile>
</profiles>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>jboss-releases-repository</id> <id>jboss-releases-repository</id>