hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Foley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2352) improve TestOfflineEditsViewer to accomodate comment in editsStored.xml, for Apache license header
Date Tue, 20 Sep 2011 18:11:11 GMT
improve TestOfflineEditsViewer to accomodate comment in editsStored.xml, for Apache license
header
--------------------------------------------------------------------------------------------------

                 Key: HDFS-2352
                 URL: https://issues.apache.org/jira/browse/HDFS-2352
             Project: Hadoop HDFS
          Issue Type: Test
          Components: test
    Affects Versions: 0.23.0
            Reporter: Matt Foley
            Priority: Minor


In HDFS-2344, we had to remove the license header comment from hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml
in order to accomodate a binary file-equal-to-expected-results test in TestOfflineEditsViewer#testStored().

It would be a better solution to modify #filesEqual() to test the XML object equality, ignoring
comments, rather than a simple-minded binary file equality.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message