From a701c13df24b13b0a242ad1289a43e80d4915c2c Mon Sep 17 00:00:00 2001 From: Inigo Goiri Date: Thu, 21 Feb 2019 17:23:46 -0800 Subject: [PATCH] HDFS-14307. RBF: Update tests to use internal Whitebox instead of Mockito. Contributed by CR Hota. --- .../federation/router/TestRouterRpcMultiDestination.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRpcMultiDestination.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRpcMultiDestination.java index 3d941bbf4b9..306a4555066 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRpcMultiDestination.java +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRpcMultiDestination.java @@ -25,8 +25,8 @@ import static org.junit.Assert.fail; import static org.mockito.Matchers.any; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; -import static org.mockito.internal.util.reflection.Whitebox.getInternalState; -import static org.mockito.internal.util.reflection.Whitebox.setInternalState; +import static org.apache.hadoop.test.Whitebox.getInternalState; +import static org.apache.hadoop.test.Whitebox.setInternalState; import java.io.IOException; import java.lang.reflect.Method;