This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 8d3693a0187 HBASE-27192 The retry number for 
TestSeparateClientZKCluster is too small (#4614)
8d3693a0187 is described below

commit 8d3693a01871fe11d1fdbd455be5a57d2f5bd1cc
Author: Duo Zhang <[email protected]>
AuthorDate: Tue Jul 12 19:08:41 2022 +0800

    HBASE-27192 The retry number for TestSeparateClientZKCluster is too small 
(#4614)
    
    Signed-off-by: GeorryHuang <[email protected]>
    (cherry picked from commit 648bb6d0eba64f32a90e8b4df20fe50ffe80dd02)
---
 .../org/apache/hadoop/hbase/client/TestSeparateClientZKCluster.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSeparateClientZKCluster.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSeparateClientZKCluster.java
index 6b9cd1ffa0c..32926440692 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSeparateClientZKCluster.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSeparateClientZKCluster.java
@@ -77,9 +77,8 @@ public class TestSeparateClientZKCluster {
     clientZkCluster = new MiniZooKeeperCluster(TEST_UTIL.getConfiguration());
     clientZkCluster.setDefaultClientPort(clientZkPort);
     clientZkCluster.startup(clientZkDir);
-    // reduce the retry number and start log counter
-    
TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 2);
-    
TEST_UTIL.getConfiguration().setInt("hbase.client.start.log.errors.counter", 
-1);
+    // start log counter
+    
TEST_UTIL.getConfiguration().setInt("hbase.client.start.log.errors.counter", 3);
     TEST_UTIL.getConfiguration().setInt("zookeeper.recovery.retry", 1);
     // core settings for testing client ZK cluster
     
TEST_UTIL.getConfiguration().setClass(HConstants.CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY,

Reply via email to