beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lc...@apache.org
Subject [1/2] beam git commit: [BEAM-2157] Fix HDFS Test That Failed in Other JDK Versions
Date Thu, 04 May 2017 02:14:05 GMT
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 <markliu@google.com>
Authored: Wed May 3 17:08:38 2017 -0700
Committer: Luke Cwik <lcwik@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")));


Mime
View raw message