Skip to content

Commit 8d8a710

Browse files
committed
HBASE-15295 MutateTableAccess.multiMutate() does not get high priority causing a deadlock - ADDENDUM for failing test
1 parent 547095a commit 8d8a710

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ public static ClusterConnection getMockedConnectionAndDecorate(final Configurati
160160
Mockito.when(c.getNewRpcRetryingCallerFactory(conf)).thenReturn(
161161
RpcRetryingCallerFactory.instantiate(conf,
162162
RetryingCallerInterceptorFactory.NO_OP_INTERCEPTOR, null));
163+
Mockito.when(c.getRpcControllerFactory()).thenReturn(Mockito.mock(RpcControllerFactory.class));
163164
HTableInterface t = Mockito.mock(HTableInterface.class);
164165
Mockito.when(c.getTable((TableName)Mockito.any())).thenReturn(t);
165166
ResultScanner rs = Mockito.mock(ResultScanner.class);

0 commit comments

Comments
 (0)