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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new 6acdab1  Fix HDFS tests with Camel 3.4 (related to issue #263) (#309)
6acdab1 is described below

commit 6acdab10724bb5c691dd3aeceb4d5b24c0a40816
Author: Otavio Rodolfo Piske <orpi...@users.noreply.github.com>
AuthorDate: Tue Jun 30 14:33:51 2020 +0200

    Fix HDFS tests with Camel 3.4 (related to issue #263) (#309)
---
 tests/itests-hdfs/pom.xml                                     | 11 +++++++++++
 .../camel/kafkaconnector/hdfs/sink/CamelSinkHDFSITCase.java   |  2 --
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/tests/itests-hdfs/pom.xml b/tests/itests-hdfs/pom.xml
index c7de9fd..53c02f9 100644
--- a/tests/itests-hdfs/pom.xml
+++ b/tests/itests-hdfs/pom.xml
@@ -54,6 +54,17 @@
             </exclusions>
         </dependency>
 
+        <!--
+        Why it is declared here: we declare it here because, apparently, it 
conflicts with the one used in
+        cometd and ends up causing the build to fail during the salesforce 
component build.
+        -->
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-util</artifactId>
+            <version>${jetty9-version}</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
 
diff --git 
a/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/sink/CamelSinkHDFSITCase.java
 
b/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/sink/CamelSinkHDFSITCase.java
index 8c3ce6b..e5a84b0 100644
--- 
a/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/sink/CamelSinkHDFSITCase.java
+++ 
b/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/sink/CamelSinkHDFSITCase.java
@@ -31,7 +31,6 @@ import org.apache.hadoop.fs.LocatedFileStatus;
 import org.apache.hadoop.fs.Path;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.Timeout;
 import org.junit.jupiter.api.extension.RegisterExtension;
@@ -44,7 +43,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.junit.jupiter.api.Assertions.fail;
 
-@Disabled("Disabled due to issue #263")
 @Testcontainers
 public class CamelSinkHDFSITCase extends AbstractKafkaTest {
     @RegisterExtension

Reply via email to