Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
HC Test: increase timeout value for ODL setup
[csit.git]
/
resources
/
libraries
/
python
/
honeycomb
/
HoneycombSetup.py
diff --git
a/resources/libraries/python/honeycomb/HoneycombSetup.py
b/resources/libraries/python/honeycomb/HoneycombSetup.py
index
13b8b97
..
a067b2f
100644
(file)
--- 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)
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=
3
0)
+ ret_code, _, _ = ssh.exec_command(cmd, timeout=
6
0)
if int(ret_code) != 0:
raise HoneycombError(
"Failed to copy ODL client on node {0}".format(node["host"]))
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:
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:
cmd = "pkill -f 'karaf'"
(ret_code, _, _) = ssh.exec_command_sudo(cmd)
if int(ret_code) != 0: