Reduce SSH timeout when connecting to VM

Change-Id: If65f8a8d71abb238b6a9b7fefdcb63ad74cec33f
This commit is contained in:
Yichen Wang 2018-12-28 23:43:53 -08:00
parent 50c49495d8
commit 16e2b078a9

View File

@ -142,7 +142,7 @@ class SSH(object):
"""Represent ssh connection.""" """Represent ssh connection."""
def __init__(self, ssh_access, def __init__(self, ssh_access,
connect_timeout=60, connect_timeout=10,
connect_retry_count=30, connect_retry_count=30,
connect_retry_wait_sec=2): connect_retry_wait_sec=2):
"""Initialize SSH client. """Initialize SSH client.