BELUGA BEHR created HDFS-13684:
----------------------------------
Summary: Remove Use of Deprecated Whitebox Test Class
Key: HDFS-13684
URL: https://issues.apache.org/jira/browse/HDFS-13684
Project: Hadoop HDFS
Issue Type: Improvement
Components: test
Affects Versions: 3.1.0, 2.10.0
Reporter: BELUGA BEHR
Unit tests within the Hadoop suite are using the now deprecated class
{{org.apache.hadoop.test.Whitebox}}.
bq. 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]