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 "Matt Foley (JIRA)" <ji...@apache.org> on 2011/09/20 20:11:11 UTC

[jira] [Created] (HDFS-2352) improve TestOfflineEditsViewer to accomodate comment in editsStored.xml, for Apache license header

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