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

        

Reply via email to