Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.0, 2.10.0
-
None
-
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
1.
|
Review and Refactor TestDFSOutputStream.java | Open | Unassigned |