HBASE-15295 MutateTableAccess.multiMutate() does not get high priority causing a deadlock - ADDENDUM for failing test
This commit is contained in:
parent
7f39baf0f4
commit
afdfd1bd9c
|
@ -125,6 +125,7 @@ public class HConnectionTestingUtility {
|
||||||
Mockito.when(c.getNewRpcRetryingCallerFactory(conf)).thenReturn(
|
Mockito.when(c.getNewRpcRetryingCallerFactory(conf)).thenReturn(
|
||||||
RpcRetryingCallerFactory.instantiate(conf,
|
RpcRetryingCallerFactory.instantiate(conf,
|
||||||
RetryingCallerInterceptorFactory.NO_OP_INTERCEPTOR, null));
|
RetryingCallerInterceptorFactory.NO_OP_INTERCEPTOR, null));
|
||||||
|
Mockito.when(c.getRpcControllerFactory()).thenReturn(Mockito.mock(RpcControllerFactory.class));
|
||||||
HTableInterface t = Mockito.mock(HTableInterface.class);
|
HTableInterface t = Mockito.mock(HTableInterface.class);
|
||||||
Mockito.when(c.getTable((TableName)Mockito.any())).thenReturn(t);
|
Mockito.when(c.getTable((TableName)Mockito.any())).thenReturn(t);
|
||||||
ResultScanner rs = Mockito.mock(ResultScanner.class);
|
ResultScanner rs = Mockito.mock(ResultScanner.class);
|
||||||
|
|
Loading…
Reference in New Issue