From 44b74ed5394da158ec5f0a162e09981c7d1eafea Mon Sep 17 00:00:00 2001 From: selias Date: Tue, 3 Oct 2017 10:56:06 +0200 Subject: HC Test: Increase timeout values in HC Setup and Teardown needed due to recent VIRL slowness Change-Id: I4cbca94001a7503f1e29c56680fa68a88e6092c6 Signed-off-by: selias --- resources/libraries/python/honeycomb/HoneycombSetup.py | 4 ++-- resources/libraries/python/honeycomb/HoneycombUtil.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'resources/libraries/python/honeycomb') 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) -- cgit 1.2.3-korg