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

Fix TestOfflineEditsViewer#testGenerated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • test
    • None
    • Reviewed

    Description

      The test has been failing consistently on trunk recently. This ticket is open to fix this test to avoid false alarm on Jenkins. Figure out which recent commit caused this failure can be a good start.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer
      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.646 sec <<< FAILURE! - in org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer
      testGenerated(org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer)  Time elapsed: 3.623 sec  <<< FAILURE!
      java.lang.AssertionError: Generated edits and reparsed (bin to XML to bin) should be same
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer.testGenerated(TestOfflineEditsViewer.java:125)
      
      
      Results :
      
      Failed tests: 
        TestOfflineEditsViewer.testGenerated:125 Generated edits and reparsed (bin to XML to bin) should be same
      
      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
      
      

      Attachments

        1. HDFS-10572-001.patch
          2 kB
          Surendra Singh Lilhore

        Issue Links

          Activity

            People

              surendralilhore Surendra Singh Lilhore
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: