We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b27c4ca commit 18c6da0Copy full SHA for 18c6da0
test/e2e/helpers.go
@@ -76,6 +76,7 @@ const (
76
retryableDeleteOperationTimeout = 3 * time.Minute
77
retryableOperationSleepBetweenRetries = 3 * time.Second
78
helmInstallTimeout = 3 * time.Minute
79
+ sshConnectionTimeout = 30 * time.Second
80
)
81
82
// deploymentsClientAdapter adapts a Deployment to work with WaitForDeploymentsAvailable.
@@ -591,6 +592,7 @@ func newSSHConfig() (*ssh.ClientConfig, error) {
591
592
HostKeyCallback: ssh.InsecureIgnoreHostKey(), //nolint:gosec // Non-production code
593
User: azure.DefaultUserName,
594
Auth: []ssh.AuthMethod{pubkey},
595
+ Timeout: sshConnectionTimeout,
596
}
597
return &sshConfig, nil
598
0 commit comments