You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/09/27 12:07:20 UTC
[camel] 16/16: CAMEL-13998 - Fixed compilation and tests
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.git
commit 27fb5edad78065ee21c60d350b7ee9339007e6a1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Sep 27 13:40:07 2019 +0200
CAMEL-13998 - Fixed compilation and tests
---
.../main/java/org/apache/camel/component/hdfs/HdfsConfiguration.java | 1 +
.../apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsConfiguration.java
index c12d4ef..ce03ef4 100644
--- a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsConfiguration.java
+++ b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsConfiguration.java
@@ -20,6 +20,7 @@ import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
diff --git a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java
index efee33f..08f34a2 100644
--- a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java
+++ b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/kerberos/KerberosConfigurationTest.java
@@ -55,7 +55,7 @@ public class KerberosConfigurationTest {
assertThat(underTest.get("fs.defaultFS"), is("hdfs://hfdsNamedService"));
}
- @Test(expected = FileNotFoundException.class)
+ @Test
public void newKerberosConfigurationWithMissingKerberosConfigFile() {
// given
List<String> namedNodes = Arrays.asList("kerb_node_01.example.com:8021", "kerb_node_02.example.com:8022");