You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2017/05/04 07:17:46 UTC

[40/50] [abbrv] beam git commit: [BEAM-2157] Fix HDFS Test That Failed in Other JDK Versions

[BEAM-2157] Fix HDFS Test That Failed in Other JDK Versions


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/8f3fbc06
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/8f3fbc06
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/8f3fbc06

Branch: refs/heads/DSL_SQL
Commit: 8f3fbc06b854a3fa15e659fae601ce8d879e8acc
Parents: 1bc50d6
Author: Mark Liu <ma...@google.com>
Authored: Wed May 3 17:08:38 2017 -0700
Committer: Luke Cwik <lc...@google.com>
Committed: Wed May 3 19:13:20 2017 -0700

----------------------------------------------------------------------
 .../org/apache/beam/sdk/io/hdfs/HadoopFileSystemModuleTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/8f3fbc06/sdks/java/io/hadoop-file-system/src/test/java/org/apache/beam/sdk/io/hdfs/HadoopFileSystemModuleTest.java
----------------------------------------------------------------------
diff --git a/sdks/java/io/hadoop-file-system/src/test/java/org/apache/beam/sdk/io/hdfs/HadoopFileSystemModuleTest.java b/sdks/java/io/hadoop-file-system/src/test/java/org/apache/beam/sdk/io/hdfs/HadoopFileSystemModuleTest.java
index 6963116..cdb1694 100644
--- a/sdks/java/io/hadoop-file-system/src/test/java/org/apache/beam/sdk/io/hdfs/HadoopFileSystemModuleTest.java
+++ b/sdks/java/io/hadoop-file-system/src/test/java/org/apache/beam/sdk/io/hdfs/HadoopFileSystemModuleTest.java
@@ -57,7 +57,7 @@ public class HadoopFileSystemModuleTest {
     String serializedConfiguration = objectMapper.writeValueAsString(configuration);
     Configuration deserializedConfiguration =
         objectMapper.readValue(serializedConfiguration, Configuration.class);
-    assertThat(deserializedConfiguration, Matchers.<Map.Entry<String, String>>contains(
+    assertThat(deserializedConfiguration, Matchers.<Map.Entry<String, String>>containsInAnyOrder(
         new AbstractMap.SimpleEntry("testPropertyA", "A"),
         new AbstractMap.SimpleEntry("testPropertyB", "B"),
         new AbstractMap.SimpleEntry("testPropertyC", "baseC")));