HBASE-23914 : Set hbase.client.retries.number for TestThriftHBaseServiceHandler (#1227)

Signed-off-by: Jan Hentschel <janh@apache.org>
This commit is contained in:
Viraj Jasani 2020-03-01 17:46:50 +05:30 committed by GitHub
parent a420f0482e
commit 48a3ccf523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ public class TestThriftHBaseServiceHandler {
@BeforeClass @BeforeClass
public static void beforeClass() throws Exception { public static void beforeClass() throws Exception {
UTIL.getConfiguration().set("hbase.client.retries.number", "3");
UTIL.startMiniCluster(); UTIL.startMiniCluster();
HTableDescriptor tableDescriptor = new HTableDescriptor(TableName.valueOf(tableAname)); HTableDescriptor tableDescriptor = new HTableDescriptor(TableName.valueOf(tableAname));
for (HColumnDescriptor family : families) { for (HColumnDescriptor family : families) {