Use default timeout for SSH reconnection when executing command
Change-Id: I0af27f443847b39ef4bd9a57987953380424742d
This commit is contained in:
parent
ab3debf791
commit
0b7446dc64
@ -104,8 +104,8 @@ class SSHShellProcessFixture(_process.ShellProcessFixture):
|
||||
f"environment={environment}")
|
||||
LOG.debug(f"Create remote process... ({details})")
|
||||
try:
|
||||
client = ssh_client.connect(timeout=timeout)
|
||||
process = client.get_transport().open_session(timeout=timeout)
|
||||
client = ssh_client.connect()
|
||||
process = client.get_transport().open_session()
|
||||
if environment:
|
||||
process.update_environment(environment)
|
||||
process.exec_command(command)
|
||||
|
Loading…
x
Reference in New Issue
Block a user