We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0273908 commit a60d10dCopy full SHA for a60d10d
test/cases/api/gcp.sh
@@ -183,7 +183,9 @@ function verify() {
183
_instanceWaitSSH "$HOST"
184
185
# Verify image
186
- _ssh="$GCP_CMD compute ssh --strict-host-key-checking=no --ssh-key-file=$GCP_SSH_KEY --zone=$GCP_ZONE $SSH_USER@$GCP_INSTANCE_NAME --"
+ # Increase the timeout for ssh connection
187
+ SSH_FLAG='--ssh-flag=-o --ssh-flag=ConnectTimeout=600'
188
+ _ssh="$GCP_CMD compute ssh --strict-host-key-checking=no --ssh-key-file=$GCP_SSH_KEY --zone=$GCP_ZONE ${SSH_FLAG} $SSH_USER@$GCP_INSTANCE_NAME --"
189
190
# TODO: remove this once el10 / c10s image moves to oslogin
191
# On el10 / c10s, we need to ssh directly, because there is no "oslogin" feature
0 commit comments