We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 547095a commit 8d8a710Copy full SHA for 8d8a710
hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java
@@ -160,6 +160,7 @@ public static ClusterConnection getMockedConnectionAndDecorate(final Configurati
160
Mockito.when(c.getNewRpcRetryingCallerFactory(conf)).thenReturn(
161
RpcRetryingCallerFactory.instantiate(conf,
162
RetryingCallerInterceptorFactory.NO_OP_INTERCEPTOR, null));
163
+ Mockito.when(c.getRpcControllerFactory()).thenReturn(Mockito.mock(RpcControllerFactory.class));
164
HTableInterface t = Mockito.mock(HTableInterface.class);
165
Mockito.when(c.getTable((TableName)Mockito.any())).thenReturn(t);
166
ResultScanner rs = Mockito.mock(ResultScanner.class);
0 commit comments