You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2024/03/21 09:29:35 UTC

(camel-quarkus) 01/02: Revert "Disabled tests using mongodb, see #5895"

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

jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit adc5a6c2f84d4a3f83efdb063db2b399b991bff0
Author: JiriOndrusek <on...@gmail.com>
AuthorDate: Thu Mar 21 09:04:58 2024 +0100

    Revert "Disabled tests using mongodb, see #5895"
    
    This reverts commit 6b4738713e210ee40684b10bf78471895816e373.
---
 .../camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsTest.java    | 2 --
 .../mongodb/mongodb/src/main/resources/application.properties           | 1 -
 .../java/org/apache/camel/quarkus/component/mongodb/it/MongoDbTest.java | 2 --
 integration-tests/debezium/pom.xml                                      | 2 --
 .../component/debezium/common/it/mongodb/DebeziumMongodbTest.java       | 2 --
 integration-tests/mongodb-grouped/pom.xml                               | 2 --
 integration-tests/slack/pom.xml                                         | 2 --
 7 files changed, 13 deletions(-)

diff --git a/integration-test-groups/mongodb/mongodb-gridfs/src/test/java/org/apache/camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsTest.java b/integration-test-groups/mongodb/mongodb-gridfs/src/test/java/org/apache/camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsTest.java
index b70e70ad3f..566bc3f439 100644
--- a/integration-test-groups/mongodb/mongodb-gridfs/src/test/java/org/apache/camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsTest.java
+++ b/integration-test-groups/mongodb/mongodb-gridfs/src/test/java/org/apache/camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsTest.java
@@ -22,7 +22,6 @@ import io.restassured.RestAssured;
 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;
 
@@ -30,7 +29,6 @@ import static org.hamcrest.Matchers.is;
 
 @QuarkusTest
 @QuarkusTestResource(MongoDbTestResource.class)
-@Disabled //https://github.com/apache/camel-quarkus/issues/5895
 class MongodbGridfsTest {
 
     @ParameterizedTest
diff --git a/integration-test-groups/mongodb/mongodb/src/main/resources/application.properties b/integration-test-groups/mongodb/mongodb/src/main/resources/application.properties
deleted file mode 100644
index 4ade596a41..0000000000
--- a/integration-test-groups/mongodb/mongodb/src/main/resources/application.properties
+++ /dev/null
@@ -1 +0,0 @@
-mongodb.container.image = docker.io/mongo:4.4
\ No newline at end of file
diff --git a/integration-test-groups/mongodb/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbTest.java b/integration-test-groups/mongodb/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbTest.java
index 4287ba0132..3dbc48b506 100644
--- a/integration-test-groups/mongodb/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbTest.java
+++ b/integration-test-groups/mongodb/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbTest.java
@@ -39,7 +39,6 @@ import org.eclipse.microprofile.config.ConfigProvider;
 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;
@@ -53,7 +52,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 
 @QuarkusTest
 @QuarkusTestResource(MongoDbTestResource.class)
-@Disabled //https://github.com/apache/camel-quarkus/issues/5895
 class MongoDbTest {
     private static final Logger LOG = Logger.getLogger(MongoDbTest.class);
 
diff --git a/integration-tests/debezium/pom.xml b/integration-tests/debezium/pom.xml
index 6b9896054a..271fd61e45 100644
--- a/integration-tests/debezium/pom.xml
+++ b/integration-tests/debezium/pom.xml
@@ -128,7 +128,6 @@
 
 
     <profiles>
-        <!-- //https://github.com/apache/camel-quarkus/issues/5895
         <profile>
             <id>native</id>
             <activation>
@@ -156,7 +155,6 @@
                 </plugins>
             </build>
         </profile>
-        -->
         <profile>
             <id>mysqlDriver</id>
             <activation>
diff --git a/integration-tests/debezium/src/test/java/org/apache/camel/quarkus/component/debezium/common/it/mongodb/DebeziumMongodbTest.java b/integration-tests/debezium/src/test/java/org/apache/camel/quarkus/component/debezium/common/it/mongodb/DebeziumMongodbTest.java
index 3531abf91e..04a8474208 100644
--- a/integration-tests/debezium/src/test/java/org/apache/camel/quarkus/component/debezium/common/it/mongodb/DebeziumMongodbTest.java
+++ b/integration-tests/debezium/src/test/java/org/apache/camel/quarkus/component/debezium/common/it/mongodb/DebeziumMongodbTest.java
@@ -35,7 +35,6 @@ import org.eclipse.microprofile.config.ConfigProvider;
 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;
@@ -51,7 +50,6 @@ import static org.junit.jupiter.api.Assumptions.assumeTrue;
 @QuarkusTest
 @QuarkusTestResource(DebeziumMongodbTestResource.class)
 @TestMethodOrder(MethodOrderer.OrderAnnotation.class)
-@Disabled //https://github.com/apache/camel-quarkus/issues/5895
 class DebeziumMongodbTest extends AbstractDebeziumTest {
     private static MongoClient mongoClient;
 
diff --git a/integration-tests/mongodb-grouped/pom.xml b/integration-tests/mongodb-grouped/pom.xml
index 8ceae670af..f8b7ab54d8 100644
--- a/integration-tests/mongodb-grouped/pom.xml
+++ b/integration-tests/mongodb-grouped/pom.xml
@@ -103,7 +103,6 @@
     </build>
 
     <profiles>
-        <!-- //https://github.com/apache/camel-quarkus/issues/5895
         <profile>
             <id>native</id>
             <activation>
@@ -131,7 +130,6 @@
                 </plugins>
             </build>
         </profile>
-        -->
         <profile>
             <id>virtualDependencies</id>
             <activation>
diff --git a/integration-tests/slack/pom.xml b/integration-tests/slack/pom.xml
index 4af557c7a0..56e1b304da 100644
--- a/integration-tests/slack/pom.xml
+++ b/integration-tests/slack/pom.xml
@@ -32,12 +32,10 @@
 
     <dependencies>
         <!-- Mongo dependency exists as a test for https://github.com/apache/camel-quarkus/issues/2489 -->
-        <!-- //https://github.com/apache/camel-quarkus/issues/5895
         <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>