File tree Expand file tree Collapse file tree
hbase-server/src/test/java/org/apache/hadoop/hbase/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,9 +77,8 @@ public static void beforeAllTests() throws Exception {
7777 clientZkCluster = new MiniZooKeeperCluster (TEST_UTIL .getConfiguration ());
7878 clientZkCluster .setDefaultClientPort (clientZkPort );
7979 clientZkCluster .startup (clientZkDir );
80- // reduce the retry number and start log counter
81- TEST_UTIL .getConfiguration ().setInt (HConstants .HBASE_CLIENT_RETRIES_NUMBER , 2 );
82- TEST_UTIL .getConfiguration ().setInt ("hbase.client.start.log.errors.counter" , -1 );
80+ // start log counter
81+ TEST_UTIL .getConfiguration ().setInt ("hbase.client.start.log.errors.counter" , 3 );
8382 TEST_UTIL .getConfiguration ().setInt ("zookeeper.recovery.retry" , 1 );
8483 // core settings for testing client ZK cluster
8584 TEST_UTIL .getConfiguration ().setClass (HConstants .CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY ,
You can’t perform that action at this time.
0 commit comments