HBASE-10787 TestHCM#testConnection* takes too long (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1579358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c96ba61641
commit
3eb0400a31
|
@ -316,7 +316,7 @@ public class TestHCM {
|
|||
Configuration c2 = new Configuration(TEST_UTIL.getConfiguration());
|
||||
// We want to work on a separate connection.
|
||||
c2.set(HConstants.HBASE_CLIENT_INSTANCE_ID, String.valueOf(-1));
|
||||
c2.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, Integer.MAX_VALUE - 1); // retry a lot
|
||||
c2.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 100); // retry a lot
|
||||
c2.setInt(HConstants.HBASE_CLIENT_PAUSE, 0); // don't wait between retries.
|
||||
c2.setInt(RpcClient.FAILED_SERVER_EXPIRY_KEY, 0); // Server do not really expire
|
||||
c2.setBoolean(RpcClient.ALLOWS_INTERRUPTS, allowsInterrupt);
|
||||
|
|
Loading…
Reference in New Issue