[
https://issues.apache.org/jira/browse/HDFS-5106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742671#comment-13742671
]
Chris Nauroth commented on HDFS-5106:
-------------------------------------
bq. -1 eclipse:eclipse. The patch failed to build with eclipse:eclipse.
This appears to be unrelated to the patch.
> TestDatanodeBlockScanner fails on Windows due to incorrect path format
> ----------------------------------------------------------------------
>
> Key: HDFS-5106
> URL: https://issues.apache.org/jira/browse/HDFS-5106
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0, 2.1.1-beta
> Reporter: Chuan Liu
> Assignee: Chuan Liu
> Priority: Minor
> Attachments: HDFS-5106-trunk.patch
>
>
> The test case fails on Windows due to the wrong baseline path name used for
> comparison.
> {noformat}
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 69.436 sec
> <<< FAILURE!
> testReplicaInfoParsing(org.apache.hadoop.hdfs.TestDatanodeBlockScanner) Time
> elapsed: 9 sec <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[/data/current/]finalized> but
> was:<[E:\data\current\]finalized>
> at org.junit.Assert.assertEquals(Assert.java:125)
> at org.junit.Assert.assertEquals(Assert.java:147)
> at
> org.apache.hadoop.hdfs.TestDatanodeBlockScanner.testReplicaInfoParsingSingle(TestDatanodeBlockScanner.java:459)
> at
> org.apache.hadoop.hdfs.TestDatanodeBlockScanner.testReplicaInfoParsing(TestDatanodeBlockScanner.java:447)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira