[
https://issues.apache.org/jira/browse/HDFS-5106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HDFS-5106:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1-beta
3.0.0
Status: Resolved (was: Patch Available)
I've committed this to trunk, branch-2, and branch-2.1-beta. Thank you to
Chuan for providing 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
> Fix For: 3.0.0, 2.1.1-beta
>
> 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