HBASE-15295 MutateTableAccess.multiMutate() does not get high priority causing a deadlock - ADDENDUM for failing test
This commit is contained in:
parent
c7ad42867d
commit
1e44dd82eb
@ -160,6 +160,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…
x
Reference in New Issue
Block a user