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:
parent
fe3d5c1fac
commit
9bd4474cea
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue