Skip to content

Commit

Permalink
Revert "Disable extension tests that use MongoDB due to #6341"
Browse files Browse the repository at this point in the history
This reverts commit 1d1dd60.
  • Loading branch information
jamesnetherton authored and github-actions[bot] committed Sep 8, 2024
1 parent 4cc77c0 commit 6c83214
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
package org.apache.camel.quarkus.component.mongodb.gridfs.it;

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

@Disabled("https://github.com/apache/camel-quarkus/issues/6341")
@QuarkusIntegrationTest
class MongodbGridfsIT extends MongodbGridfsTest {
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@
import io.restassured.http.ContentType;
import org.apache.camel.quarkus.test.support.mongodb.MongoDbTestResource;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

import static org.hamcrest.Matchers.is;

@Disabled("https://github.com/apache/camel-quarkus/issues/6341")
@QuarkusTest
@QuarkusTestResource(MongoDbTestResource.class)
class MongodbGridfsTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
package org.apache.camel.quarkus.component.mongodb.it;

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

@Disabled("https://github.com/apache/camel-quarkus/issues/6341")
@QuarkusIntegrationTest
class MongoDbIT extends MongoDbTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import org.jboss.logging.Logger;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
Expand All @@ -51,7 +50,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

@Disabled("https://github.com/apache/camel-quarkus/issues/6341")
@QuarkusTest
@QuarkusTestResource(MongoDbTestResource.class)
class MongoDbTest {
Expand Down
2 changes: 0 additions & 2 deletions integration-tests/debezium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@


<profiles>
<!-- TODO: https://github.com/apache/camel-quarkus/issues/6341
<profile>
<id>native</id>
<activation>
Expand Down Expand Up @@ -156,7 +155,6 @@
</plugins>
</build>
</profile>
-->
<profile>
<id>mysqlDriver</id>
<activation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import io.quarkus.test.junit.QuarkusIntegrationTest;
import org.junit.jupiter.api.Disabled;

@Disabled("https://github.com/apache/camel-quarkus/issues/4638, https://github.com/apache/camel-quarkus/issues/6341")
@Disabled("https://github.com/apache/camel-quarkus/issues/4638")
@QuarkusIntegrationTest
class DebeziumMongodbIT extends DebeziumMongodbTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
Expand All @@ -48,7 +47,6 @@
import static org.junit.jupiter.api.Assertions.fail;
import static org.junit.jupiter.api.Assumptions.assumeTrue;

@Disabled("https://github.com/apache/camel-quarkus/issues/6341")
@QuarkusTest
@QuarkusTestResource(DebeziumMongodbTestResource.class)
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
Expand Down
2 changes: 0 additions & 2 deletions integration-tests/mongodb-grouped/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
</build>

<profiles>
<!-- TODO: https://github.com/apache/camel-quarkus/issues/6341
<profile>
<id>native</id>
<activation>
Expand Down Expand Up @@ -131,7 +130,6 @@
</plugins>
</build>
</profile>
-->
<profile>
<id>virtualDependencies</id>
<activation>
Expand Down
15 changes: 13 additions & 2 deletions integration-tests/slack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@

<dependencies>
<!-- Mongo dependency exists as a test for https://github.com/apache/camel-quarkus/issues/2489 -->
<!-- TODO: https://github.com/apache/camel-quarkus/issues/6341
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-mongodb</artifactId>
</dependency>
-->
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-slack</artifactId>
Expand Down Expand Up @@ -103,6 +101,19 @@
</activation>
<dependencies>
<!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-mongodb-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-slack-deployment</artifactId>
Expand Down

0 comments on commit 6c83214

Please sign in to comment.