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

Remove Use of Deprecated Whitebox Test Class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.0, 2.10.0
    • None
    • test
    • None

    Description

      Unit tests within the Hadoop suite are using the now deprecated class org.apache.hadoop.test.Whitebox.

      This class was ported from org.mockito.internal.util.reflection.Whitebox since the class was removed in Mockito 2.1. Using this class is a bad practice. Consider refactoring instead of using this.

      As stated, refactor the existing tests to remove calls to this class... then remove this class from the project.

      Attachments

        Activity

          People

            Unassigned Unassigned
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: