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/22 09:14:22 UTC
(camel-quarkus) 32/36: 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 406af0e3e94e8b97811dadc8df857b429e9129fb
Author: JiriOndrusek <on...@gmail.com>
AuthorDate: Tue Mar 19 14:23:56 2024 +0100
Disabled tests using mongodb, see #5895
---
.../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 insertions(+)
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 566bc3f439..b70e70ad3f 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,6 +22,7 @@ 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;
@@ -29,6 +30,7 @@ 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
new file mode 100644
index 0000000000..4ade596a41
--- /dev/null
+++ b/integration-test-groups/mongodb/mongodb/src/main/resources/application.properties
@@ -0,0 +1 @@
+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 3dbc48b506..4287ba0132 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,6 +39,7 @@ 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;
@@ -52,6 +53,7 @@ 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 825e7fc173..eedd76bdf4 100644
--- a/integration-tests/debezium/pom.xml
+++ b/integration-tests/debezium/pom.xml
@@ -128,6 +128,7 @@
<profiles>
+ <!-- //https://github.com/apache/camel-quarkus/issues/5895
<profile>
<id>native</id>
<activation>
@@ -155,6 +156,7 @@
</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 04a8474208..3531abf91e 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,6 +35,7 @@ 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;
@@ -50,6 +51,7 @@ 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 98948fd4b2..50e730480d 100644
--- a/integration-tests/mongodb-grouped/pom.xml
+++ b/integration-tests/mongodb-grouped/pom.xml
@@ -103,6 +103,7 @@
</build>
<profiles>
+ <!-- //https://github.com/apache/camel-quarkus/issues/5895
<profile>
<id>native</id>
<activation>
@@ -130,6 +131,7 @@
</plugins>
</build>
</profile>
+ -->
<profile>
<id>virtualDependencies</id>
<activation>
diff --git a/integration-tests/slack/pom.xml b/integration-tests/slack/pom.xml
index 013449479c..9c3c94a8c7 100644
--- a/integration-tests/slack/pom.xml
+++ b/integration-tests/slack/pom.xml
@@ -32,10 +32,12 @@
<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>