This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 3bd3bd942f72a3f017507e630408743c43fa8ee3 Author: James Netherton <[email protected]> AuthorDate: Mon Aug 12 15:14:23 2024 +0100 Disable extension tests that use MongoDB due to #6341 --- .../camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsIT.java | 2 ++ .../camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsTest.java | 2 ++ .../java/org/apache/camel/quarkus/component/mongodb/it/MongoDbIT.java | 2 ++ .../java/org/apache/camel/quarkus/component/mongodb/it/MongoDbTest.java | 2 ++ integration-tests/debezium/pom.xml | 2 ++ .../quarkus/component/debezium/common/it/mongodb/DebeziumMongodbIT.java | 2 +- .../component/debezium/common/it/mongodb/DebeziumMongodbTest.java | 2 ++ integration-tests/mongodb-grouped/pom.xml | 2 ++ integration-tests/slack/pom.xml | 2 ++ 9 files changed, 17 insertions(+), 1 deletion(-) diff --git a/integration-test-groups/mongodb/mongodb-gridfs/src/test/java/org/apache/camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsIT.java b/integration-test-groups/mongodb/mongodb-gridfs/src/test/java/org/apache/camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsIT.java index 03e1e6649e..fa07890e80 100644 --- a/integration-test-groups/mongodb/mongodb-gridfs/src/test/java/org/apache/camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsIT.java +++ b/integration-test-groups/mongodb/mongodb-gridfs/src/test/java/org/apache/camel/quarkus/component/mongodb/gridfs/it/MongodbGridfsIT.java @@ -17,7 +17,9 @@ 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 { } 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 bad3a710ae..855f35a543 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,11 +22,13 @@ 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; import static org.hamcrest.Matchers.is; +@Disabled("https://github.com/apache/camel-quarkus/issues/6341") @QuarkusTest @WithTestResource(MongoDbTestResource.class) class MongodbGridfsTest { diff --git a/integration-test-groups/mongodb/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbIT.java b/integration-test-groups/mongodb/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbIT.java index 60fc464e1c..f741a3c2ea 100644 --- a/integration-test-groups/mongodb/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbIT.java +++ b/integration-test-groups/mongodb/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbIT.java @@ -17,7 +17,9 @@ 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 { 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 d0f3c8de6d..c56fd625cf 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; @@ -50,6 +51,7 @@ import static org.hamcrest.Matchers.nullValue; 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 @WithTestResource(MongoDbTestResource.class) class MongoDbTest { diff --git a/integration-tests/debezium/pom.xml b/integration-tests/debezium/pom.xml index 0463e98cc7..308ae9cc43 100644 --- a/integration-tests/debezium/pom.xml +++ b/integration-tests/debezium/pom.xml @@ -128,6 +128,7 @@ <profiles> + <!-- TODO: https://github.com/apache/camel-quarkus/issues/6341 <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/DebeziumMongodbIT.java b/integration-tests/debezium/src/test/java/org/apache/camel/quarkus/component/debezium/common/it/mongodb/DebeziumMongodbIT.java index c4daf9bbf7..bf8e1fb75a 100644 --- a/integration-tests/debezium/src/test/java/org/apache/camel/quarkus/component/debezium/common/it/mongodb/DebeziumMongodbIT.java +++ b/integration-tests/debezium/src/test/java/org/apache/camel/quarkus/component/debezium/common/it/mongodb/DebeziumMongodbIT.java @@ -19,7 +19,7 @@ package org.apache.camel.quarkus.component.debezium.common.it.mongodb; import io.quarkus.test.junit.QuarkusIntegrationTest; import org.junit.jupiter.api.Disabled; -@Disabled("https://github.com/apache/camel-quarkus/issues/4638") +@Disabled("https://github.com/apache/camel-quarkus/issues/4638, https://github.com/apache/camel-quarkus/issues/6341") @QuarkusIntegrationTest class DebeziumMongodbIT extends DebeziumMongodbTest { 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 af717a45ed..a27b28ca73 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; @@ -47,6 +48,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; 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 @WithTestResource(DebeziumMongodbTestResource.class) @TestMethodOrder(MethodOrderer.OrderAnnotation.class) diff --git a/integration-tests/mongodb-grouped/pom.xml b/integration-tests/mongodb-grouped/pom.xml index d0cb9f91ca..7115168f1a 100644 --- a/integration-tests/mongodb-grouped/pom.xml +++ b/integration-tests/mongodb-grouped/pom.xml @@ -103,6 +103,7 @@ </build> <profiles> + <!-- TODO: https://github.com/apache/camel-quarkus/issues/6341 <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 3d6486ffed..fdca66beb9 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 --> + <!-- 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>
