aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/TrafficScriptExecutor.py
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2016-07-18 14:12:38 +0200
committerMatej Klotton <mklotton@cisco.com>2016-07-25 13:20:36 +0000
commitef67d0dbd0aca3ea0c24800763f6da79f3671727 (patch)
tree47f4119ecafa46166b0f41a81162d4605af7141a /resources/libraries/python/TrafficScriptExecutor.py
parent967ee17e64c1aff48339d35cbdc0e317f9e87d70 (diff)
SSH timeout problem
In case of large output or stderr output the SSH proces got stucked, because of output buffer fills. Fix with reading from buffers. - increase traffic script default timeout - add reconnect to ssh Change-Id: Ie07107c6ab0fb19c9361d7390467b9b693fe2fdb Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'resources/libraries/python/TrafficScriptExecutor.py')
-rw-r--r--resources/libraries/python/TrafficScriptExecutor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/TrafficScriptExecutor.py b/resources/libraries/python/TrafficScriptExecutor.py
index f4f026addf..8d899044fc 100644
--- a/resources/libraries/python/TrafficScriptExecutor.py
+++ b/resources/libraries/python/TrafficScriptExecutor.py
@@ -37,7 +37,7 @@ class TrafficScriptExecutor(object):
@staticmethod
def run_traffic_script_on_node(script_file_name, node, script_args,
- timeout=10):
+ timeout=60):
"""Run traffic script on the TG node.
:param script_file_name: Traffic script name.