This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 3ad5302 CAMEL-16400: split unit and integration tests for camel-hdfs (#5342) 3ad5302 is described below commit 3ad530289f017480962cb6d364b27f878479059f Author: Otavio Rodolfo Piske <orpi...@users.noreply.github.com> AuthorDate: Mon Apr 12 18:27:03 2021 +0200 CAMEL-16400: split unit and integration tests for camel-hdfs (#5342) --- components/camel-hdfs/pom.xml | 9 +++++++++ .../hdfs/integration/{HdfsAppendTest.java => HdfsAppendIT.java} | 4 ++-- ...nsumerIntegrationTest.java => HdfsConsumerIntegrationIT.java} | 2 +- ...tegrationTest.java => HdfsProducerConsumerIntegrationIT.java} | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/components/camel-hdfs/pom.xml b/components/camel-hdfs/pom.xml index 26462a9..4092621 100644 --- a/components/camel-hdfs/pom.xml +++ b/components/camel-hdfs/pom.xml @@ -166,6 +166,15 @@ </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + </plugin> + </plugins> + </build> + <!-- skip tests on Windows due CAMEL-8445 --> <profiles> <profile> diff --git a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsAppendTest.java b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsAppendIT.java similarity index 98% rename from components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsAppendTest.java rename to components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsAppendIT.java index b71b7f5..434d278 100644 --- a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsAppendTest.java +++ b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsAppendIT.java @@ -38,11 +38,11 @@ import org.slf4j.LoggerFactory; import static org.junit.jupiter.api.Assertions.assertEquals; @DisabledOnOs(value = OS.MAC, disabledReason = "Temporarily disabled due to CAMEL-16387") -public class HdfsAppendTest extends CamelTestSupport { +public class HdfsAppendIT extends CamelTestSupport { @RegisterExtension public static HDFSService service = HDFSServiceFactory.createService(); - private static final Logger LOG = LoggerFactory.getLogger(HdfsAppendTest.class); + private static final Logger LOG = LoggerFactory.getLogger(HdfsAppendIT.class); private static final int ITERATIONS = 10; diff --git a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsConsumerIntegrationTest.java b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsConsumerIntegrationIT.java similarity index 99% rename from components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsConsumerIntegrationTest.java rename to components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsConsumerIntegrationIT.java index df76913..f1945cf 100644 --- a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsConsumerIntegrationTest.java +++ b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsConsumerIntegrationIT.java @@ -60,7 +60,7 @@ import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.jupiter.api.Assertions.assertTrue; -public class HdfsConsumerIntegrationTest extends HdfsTestSupport { +public class HdfsConsumerIntegrationIT extends HdfsTestSupport { private static final int ITERATIONS = 200; @Override diff --git a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsProducerConsumerIntegrationTest.java b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsProducerConsumerIntegrationIT.java similarity index 98% rename from components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsProducerConsumerIntegrationTest.java rename to components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsProducerConsumerIntegrationIT.java index 958f1fd..9f91e3d 100644 --- a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsProducerConsumerIntegrationTest.java +++ b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/integration/HdfsProducerConsumerIntegrationIT.java @@ -40,7 +40,7 @@ import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; @Disabled("Must run manual") -public class HdfsProducerConsumerIntegrationTest extends CamelTestSupport { +public class HdfsProducerConsumerIntegrationIT extends CamelTestSupport { private static final int ITERATIONS = 400; @Override