Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5106

TestDatanodeBlockScanner fails on Windows due to incorrect path format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.1-beta, 3.0.0-alpha1
    • 2.1.1-beta
    • test
    • None
    • Reviewed

    Description

      The test case fails on Windows due to the wrong baseline path name used for comparison.

      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)
      

      Attachments

        1. HDFS-5106-trunk.patch
          0.7 kB
          Chuan Liu

        Issue Links

          Activity

            People

              chuanliu Chuan Liu
              chuanliu Chuan Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: