Skip to content

Commit 648bb6d

Browse files
authored
HBASE-27192 The retry number for TestSeparateClientZKCluster is too small (#4614)
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
1 parent 886e319 commit 648bb6d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSeparateClientZKCluster.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)