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

Reply via email to