You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2019/11/02 18:25:59 UTC
[hbase] branch branch-1.3 updated: HBASE-23185 Fix test failure by
HBASE-23185 changes (#786)
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-1.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1.3 by this push:
new d8e3fb3 HBASE-23185 Fix test failure by HBASE-23185 changes (#786)
d8e3fb3 is described below
commit d8e3fb31b11ed0dd540be51470ddcce2c7775030
Author: bitterfox <bi...@gmail.com>
AuthorDate: Sun Nov 3 03:25:46 2019 +0900
HBASE-23185 Fix test failure by HBASE-23185 changes (#786)
Addendum to fix tests.
---
.../apache/hadoop/hbase/client/HConnectionTestingUtility.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java
index dcac58f..8978362 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java
@@ -158,11 +158,11 @@ public class HConnectionTestingUtility {
}
NonceGenerator ng = Mockito.mock(NonceGenerator.class);
Mockito.when(c.getNonceGenerator()).thenReturn(ng);
- Mockito.when(c.getAsyncProcess()).thenReturn(
- new AsyncProcess(c, conf, null, RpcRetryingCallerFactory.instantiate(conf), false,
- RpcControllerFactory.instantiate(conf),
- conf.getInt(HConstants.HBASE_RPC_TIMEOUT_KEY,
- HConstants.DEFAULT_HBASE_RPC_TIMEOUT)));
+ AsyncProcess asyncProcess =
+ new AsyncProcess(c, conf, null, RpcRetryingCallerFactory.instantiate(conf), false,
+ RpcControllerFactory.instantiate(conf), conf.getInt(HConstants.HBASE_RPC_TIMEOUT_KEY,
+ HConstants.DEFAULT_HBASE_RPC_TIMEOUT));
+ Mockito.when(c.getAsyncProcess()).thenReturn(asyncProcess);
Mockito.doNothing().when(c).incCount();
Mockito.doNothing().when(c).decCount();
Mockito.when(c.getNewRpcRetryingCallerFactory(conf)).thenReturn(