aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/ssh.py
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-09-29 17:03:17 +0200
committerPeter Mikus <pmikus@cisco.com>2016-10-04 05:53:06 +0000
commit5dc98f39c227fb09ce59caa38d28f0dba8558e4b (patch)
tree104fd1e792a84d7fe059a27e2c310f119d18d87d /resources/libraries/python/ssh.py
parent7a518f56201e7fb3a1e096d40248866330656fab (diff)
Interactive terminal fixes
- remember if execution timed out and do not try to send "quit" on close - increase timeout of vat command execution from 10s to 60s Change-Id: I2b96a6dce1220eff45002276d1fe8a771fca2205 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/libraries/python/ssh.py')
-rw-r--r--resources/libraries/python/ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/ssh.py b/resources/libraries/python/ssh.py
index 298c93ee8e..b470e86ccc 100644
--- a/resources/libraries/python/ssh.py
+++ b/resources/libraries/python/ssh.py
@@ -213,7 +213,7 @@ class SSH(object):
@staticmethod
def interactive_terminal_exec_command(chan, cmd, prompt,
- time_out=10):
+ time_out=30):
"""Execute command on interactive terminal.
interactive_terminal_open() method has to be called first!