[
https://issues.apache.org/jira/browse/BEAM-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995617#comment-15995617
]
Luke Cwik commented on BEAM-2157:
---------------------------------
It might be something simple like "contains" -> "containsInAnyOrder" on the
matcher.
> HadoopFileSystemModuleTest Failed in Some JDK Versions on Jenkins
> -----------------------------------------------------------------
>
> Key: BEAM-2157
> URL: https://issues.apache.org/jira/browse/BEAM-2157
> Project: Beam
> Issue Type: Bug
> Components: testing
> Reporter: Mark Liu
>
> I'm running Java Postcommit test in multiple JDK versions and
> HadoopFileSystemModuleTest failed in the following JDK versions:
> JDK 1.7
> OpenJDK 7 (on Ubuntu only)
> OpenJDK 8 (on Ubuntu only)
> Error log:
> {code}
> estConfigurationSerializationDeserialization(org.apache.beam.sdk.io.hdfs.HadoopFileSystemModuleTest)
> Time elapsed: 0.022 s <<< FAILURE!
> java.lang.AssertionError:
> Expected: iterable containing [<testPropertyA=A>, <testPropertyB=B>,
> <testPropertyC=baseC>]
> but: item 0: was <testPropertyC=baseC>
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> at org.junit.Assert.assertThat(Assert.java:956)
> at org.junit.Assert.assertThat(Assert.java:923)
> at
> org.apache.beam.sdk.io.hdfs.HadoopFileSystemModuleTest.testConfigurationSerializationDeserialization(HadoopFileSystemModuleTest.java:60)
> {code}
> Jenkins build link is
> [here|https://builds.apache.org/view/Beam/job/beam_PostCommit_Java_JDK_Versions_Test/6/]
> However, this test was passed in JDK 1.8 which is the one we are currently
> used in all pre/post-commit.
> Note: This Jenkins branch is still not published, but environment should be
> set up correctly. Build (total 4 JDK versions) can be triggered by commenting
> "Run Java JDK Versions Test" in PR.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)