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

[1/2] beam git commit: [BEAM-2157] Fix HDFS Test That Failed in Other JDK Versions

Repository: beam
Updated Branches:
  refs/heads/master 1bc50d627 -> 5b0a8684a


[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/master
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")));


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

Posted by lc...@apache.org.
[BEAM-2157] Fix HDFS Test That Failed in Other JDK Versions

This closes #2876


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

Branch: refs/heads/master
Commit: 5b0a8684ab93a24de0a32182dfa1a8bb968053a8
Parents: 1bc50d6 8f3fbc0
Author: Luke Cwik <lc...@google.com>
Authored: Wed May 3 19:13:53 2017 -0700
Committer: Luke Cwik <lc...@google.com>
Committed: Wed May 3 19:13:53 2017 -0700

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