[
https://issues.apache.org/jira/browse/HDFS-7950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14369482#comment-14369482
]
Hudson commented on HDFS-7950:
------------------------------
FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #137 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/137/])
HDFS-7950. Fix TestFsDatasetImpl#testAddVolumes failure on Windows.
(Contributed by Xiaoyu Yao) (arp: rev d462c62755171a2e980a4946d7c8b2d689a715b5)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java
> Fix TestFsDatasetImpl#testAddVolumes failure on Windows
> -------------------------------------------------------
>
> Key: HDFS-7950
> URL: https://issues.apache.org/jira/browse/HDFS-7950
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: test
> Affects Versions: 2.6.0
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
> Fix For: 2.7.0
>
> Attachments: HDFS-7950.00.patch, HDFS-7950.01.patch,
> HDFS-7950.02.patch
>
>
> The test should use Iterables.elementsEqual() instead of Junit AssertEquals
> to compare two object list. I will post a patch shortly.
> {code}
> testAddVolumes(org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl)
> Time elapsed: 0.116 sec <<< FAILURE!
> java.lang.AssertionError:
> expected:<[D:\w\hbk\hadoop-hdfs-project\hadoop-hdfs\target\test\data\Y8839Td1WC\newData2,
>
> D:\w\hbk\hadoop-hdfs-project\hadoop-hdfs\target\test\data\Y8839Td1WC\newData1,
>
> D:\w\hbk\hadoop-hdfs-project\hadoop-hdfs\target\test\data\Y8839Td1WC\newData0]>
> but
> was:<[D:\w\hbk\hadoop-hdfs-project\hadoop-hdfs\target/test/data/Y8839Td1WC/newData0,
>
> D:\w\hbk\hadoop-hdfs-project\hadoop-hdfs\target/test/data/Y8839Td1WC/newData2,
>
> D:\w\hbk\hadoop-hdfs-project\hadoop-hdfs\target/test/data/Y8839Td1WC/newData1]>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at
> org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl.testAddVolumes(TestFsDatasetImpl.java:165)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)