Skip to content

Commit

Permalink
Revert "Disable microprofile-fault-tolerance testing due to #5995"
Browse files Browse the repository at this point in the history
This reverts commit 17a5596.
  • Loading branch information
jamesnetherton authored and JiriOndrusek committed Apr 26, 2024
1 parent 88fdbbb commit 3bf23d8
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
</dependencies>

<profiles>
<!-- TODO: https://github.com/apache/camel-quarkus/issues/5995
<profile>
<id>native</id>
<activation>
Expand Down Expand Up @@ -87,7 +86,6 @@
</plugins>
</build>
</profile>
-->
<profile>
<id>virtualDependencies</id>
<activation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
package org.apache.camel.quarkus.core.faulttolerance.it;

import io.quarkus.test.junit.QuarkusIntegrationTest;
import org.junit.jupiter.api.Disabled;

@Disabled("https://github.com/apache/camel-quarkus/issues/5995")
@QuarkusIntegrationTest
public class CoreFaultToleranceIT extends CoreFaultToleranceTest {
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
package org.apache.camel.quarkus.core.faulttolerance.it;

import io.quarkus.test.junit.QuarkusTest;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import static io.restassured.RestAssured.get;
import static org.hamcrest.Matchers.is;

@Disabled("https://github.com/apache/camel-quarkus/issues/5995")
@QuarkusTest
public class CoreFaultToleranceTest {

Expand Down
17 changes: 13 additions & 4 deletions integration-tests/foundation-grouped/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,10 @@
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-log</artifactId>
</dependency>
<!-- TODO: https://github.com/apache/camel-quarkus/issues/5995
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-microprofile-fault-tolerance</artifactId>
</dependency>
-->
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-mock</artifactId>
Expand Down Expand Up @@ -214,8 +212,6 @@
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/foundation</group-tests.source.dir>
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
<group-tests.concat.rel.paths>src/main/resources/application.properties</group-tests.concat.rel.paths>
<!-- TODO: https://github.com/apache/camel-quarkus/issues/5995 -->
<group-tests.files.excludes>core-fault-tolerance</group-tests.files.excludes>
</properties>
</configuration>
</execution>
Expand Down Expand Up @@ -456,6 +452,19 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-microprofile-fault-tolerance-deployment</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-mock-deployment</artifactId>
Expand Down
40 changes: 13 additions & 27 deletions integration-tests/microprofile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-log</artifactId>
</dependency>
<!-- TODO: https://github.com/apache/camel-quarkus/issues/5995
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-microprofile-fault-tolerance</artifactId>
</dependency>
-->
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-microprofile-health</artifactId>
Expand Down Expand Up @@ -80,31 +78,6 @@
</dependency>
</dependencies>

<!-- TODO: https://github.com/apache/camel-quarkus/issues/5995 -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>org/apache/camel/quarkus/component/microprofile/it/faulttolerance/**</exclude>
</excludes>
<testExcludes>
<exclude>org/apache/camel/quarkus/component/microprofile/it/faulttolerance/**</exclude>
</testExcludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>org.apache.camel.quarkus.component.microprofile.it.faulttolerance</excludePackageNames>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>native</id>
Expand Down Expand Up @@ -181,6 +154,19 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-microprofile-fault-tolerance-deployment</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-microprofile-health-deployment</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
package org.apache.camel.quarkus.component.microprofile.it.faulttolerance;

import io.quarkus.test.junit.QuarkusIntegrationTest;
import org.junit.jupiter.api.Disabled;

@Disabled("https://github.com/apache/camel-quarkus/issues/5995")
@QuarkusIntegrationTest
class MicroprofileFaultToleranceIT extends MicroprofileFaultToleranceTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
Expand All @@ -27,7 +26,6 @@
import static org.apache.camel.quarkus.component.microprofile.it.faulttolerance.MicroProfileFaultToleranceRoutes.EXCEPTION_MESSAGE;
import static org.hamcrest.Matchers.is;

@Disabled("https://github.com/apache/camel-quarkus/issues/5995")
@QuarkusTest
class MicroprofileFaultToleranceTest {

Expand Down
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,6 @@
</sourcePoms>
<destinationPom>${basedir}/integration-tests/compression-grouped/pom.xml</destinationPom>
</mergePom>
<!-- TODO: https://github.com/apache/camel-quarkus/issues/5995
<mergePom>
<sourcePoms>
<directory>${basedir}/integration-test-groups/foundation</directory>
Expand All @@ -985,7 +984,6 @@
</sourcePoms>
<destinationPom>${basedir}/integration-tests/foundation-grouped/pom.xml</destinationPom>
</mergePom>
-->
<mergePom>
<sourcePoms>
<directory>${basedir}/integration-test-groups/mongodb</directory>
Expand Down

0 comments on commit 3bf23d8

Please sign in to comment.