Fixed the import statement of importing Mackito

rather than importing Mackito Whitebox, changed that to import import org.apache.hadoop.test.Whitebox; which seems to be the correct way of setting the internal State for testing.
This commit is contained in:
Howard Yoo 2019-07-26 23:14:20 -05:00 committed by GitHub
parent fe3d5c1fac
commit 9bd4474cea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import org.apache.hadoop.metrics2.MetricsTag;
import org.apache.hadoop.metrics2.sink.WavefrontSink;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.internal.util.reflection.Whitebox;
import org.apache.hadoop.test.Whitebox;
import java.io.IOException;
import java.util.ArrayList;