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 7f6d6c2 commit 320cc28Copy full SHA for 320cc28
test/e2e/helpers.go
@@ -78,6 +78,7 @@ const (
78
retryableOperationTimeout = 30 * time.Second
79
retryableDeleteOperationTimeout = 3 * time.Minute
80
retryableOperationSleepBetweenRetries = 3 * time.Second
81
+ sshConnectionTimeout = 30 * time.Second
82
)
83
84
// deploymentsClientAdapter adapts a Deployment to work with WaitForDeploymentsAvailable.
@@ -587,6 +588,7 @@ func newSSHConfig() (*ssh.ClientConfig, error) {
587
588
HostKeyCallback: ssh.InsecureIgnoreHostKey(), //nolint:gosec // Non-production code
589
User: azure.DefaultUserName,
590
Auth: []ssh.AuthMethod{pubkey},
591
+ Timeout: sshConnectionTimeout,
592
}
593
return &sshConfig, nil
594
0 commit comments