From 22618dadfed5015e9eb527922c170eab6a850232 Mon Sep 17 00:00:00 2001 From: Narasimha Sharma Date: Thu, 7 Jul 2022 22:47:04 +0530 Subject: [PATCH] HBASE-18045 Added default SSH connection timeout in Integration tests (#4450) --- .../test/java/org/apache/hadoop/hbase/HBaseClusterManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java index d620684a37b..d6abc353158 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java @@ -86,7 +86,7 @@ public class HBaseClusterManager extends Configured implements ClusterManager { return; } sshUserName = conf.get("hbase.it.clustermanager.ssh.user", ""); - String extraSshOptions = conf.get("hbase.it.clustermanager.ssh.opts", ""); + String extraSshOptions = conf.get("hbase.it.clustermanager.ssh.opts", "-o ConnectTimeout=10"); sshOptions = System.getenv("HBASE_SSH_OPTS"); if (!extraSshOptions.isEmpty()) { sshOptions = StringUtils.join(new Object[] { sshOptions, extraSshOptions }, " ");