You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2013/08/16 09:00:53 UTC
[jira] [Updated] (HDFS-5106) TestDatanodeBlockScanner fails on
Windows due to incorrect path format
[ https://issues.apache.org/jira/browse/HDFS-5106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chuan Liu updated HDFS-5106:
----------------------------
Attachment: HDFS-5106-trunk.patch
Attach a patch. The fix is quite straight forward.
> 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
> Affects Versions: 3.0.0, 2.3.0
> 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