From dcf7d0e5640c048d48b5f6f9cc0aabcd18b4253f Mon Sep 17 00:00:00 2001 From: selias Date: Thu, 6 Jul 2017 12:00:09 +0200 Subject: HC Test: increase timeout value for ODL setup Change-Id: I9be9ef6bb6751fbaa61115d2052433e14b4b14fb Signed-off-by: selias --- resources/libraries/python/honeycomb/HoneycombSetup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/libraries/python/honeycomb/HoneycombSetup.py b/resources/libraries/python/honeycomb/HoneycombSetup.py index 13b8b971b6..a067b2f993 100644 --- a/resources/libraries/python/honeycomb/HoneycombSetup.py +++ b/resources/libraries/python/honeycomb/HoneycombSetup.py @@ -460,7 +460,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(cmd, timeout=30) + ret_code, _, _ = ssh.exec_command(cmd, timeout=60) if int(ret_code) != 0: raise HoneycombError( "Failed to copy ODL client on node {0}".format(node["host"])) @@ -602,7 +602,7 @@ class HoneycombSetup(object): ssh.connect(node) ret_code, _, _ = ssh.exec_command_sudo(cmd) if int(ret_code) != 0: - logger.warn("ODL Client refused to shut down.") + logger.debug("ODL Client refused to shut down.") cmd = "pkill -f 'karaf'" (ret_code, _, _) = ssh.exec_command_sudo(cmd) if int(ret_code) != 0: -- cgit 1.2.3-korg