diff options
author | selias <samelias@cisco.com> | 2017-10-03 10:56:06 +0200 |
---|---|---|
committer | selias <samelias@cisco.com> | 2017-10-03 11:00:04 +0200 |
commit | 44b74ed5394da158ec5f0a162e09981c7d1eafea (patch) | |
tree | 6b3f92a131fd7fda72c2a47a372b91e2488cfd53 /resources/libraries/python/honeycomb | |
parent | 6417e5d0e7acd7ecf1fd89b2a5962f48ee9b102f (diff) |
HC Test: Increase timeout values in HC Setup and Teardownrls1707
needed due to recent VIRL slowness
Change-Id: I4cbca94001a7503f1e29c56680fa68a88e6092c6
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/python/honeycomb')
-rw-r--r-- | resources/libraries/python/honeycomb/HoneycombSetup.py | 4 | ||||
-rw-r--r-- | resources/libraries/python/honeycomb/HoneycombUtil.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/resources/libraries/python/honeycomb/HoneycombSetup.py b/resources/libraries/python/honeycomb/HoneycombSetup.py index 2c02a1c80d..6ff7675704 100644 --- a/resources/libraries/python/honeycomb/HoneycombSetup.py +++ b/resources/libraries/python/honeycomb/HoneycombSetup.py @@ -464,7 +464,7 @@ class HoneycombSetup(object): cmd = "cp -r {src}/*karaf_{odl_name}* {dst}".format( src=src_path, odl_name=odl_name, dst=dst_path) - ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=60) + ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=180) if int(ret_code) != 0: raise HoneycombError( "Failed to copy ODL client on node {0}".format(node["host"])) @@ -516,7 +516,7 @@ class HoneycombSetup(object): for feature in features: cmd += " {0}".format(feature) - ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=120) + ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=180) if int(ret_code) != 0: raise HoneycombError("Feature install did not succeed.") diff --git a/resources/libraries/python/honeycomb/HoneycombUtil.py b/resources/libraries/python/honeycomb/HoneycombUtil.py index 24f81af7b3..0b99555d12 100644 --- a/resources/libraries/python/honeycomb/HoneycombUtil.py +++ b/resources/libraries/python/honeycomb/HoneycombUtil.py @@ -418,4 +418,5 @@ class HoneycombUtil(object): ssh.scp( ".", "/var/log/honeycomb/honeycomb.log", - get=True) + get=True, + timeout=60) |