You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2013/08/16 08:58:48 UTC

[jira] [Created] (HDFS-5106) TestDatanodeBlockScanner fails on Windows due to incorrect path format

Chuan Liu created HDFS-5106:
-------------------------------

             Summary: 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


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