Skip to content

Commit

Permalink
Disable extension tests that use MongoDB due to #6341
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Aug 14, 2024
1 parent 7cec076 commit 1d1dd60
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
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 @@ -50,6 +51,7 @@
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 {
Expand Down
2 changes: 2 additions & 0 deletions integration-tests/debezium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@


<profiles>
<!-- TODO: https://github.com/apache/camel-quarkus/issues/6341
<profile>
<id>native</id>
<activation>
Expand Down Expand Up @@ -155,6 +156,7 @@
</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")
@Disabled("https://github.com/apache/camel-quarkus/issues/4638, https://github.com/apache/camel-quarkus/issues/6341")
@QuarkusIntegrationTest
class DebeziumMongodbIT extends DebeziumMongodbTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
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 @@ -47,6 +48,7 @@
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)
Expand Down
2 changes: 2 additions & 0 deletions integration-tests/mongodb-grouped/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
</build>

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

Please sign in to comment.