Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
292e156
)
Fix: Timeout during VPP installation
97/4997/3
author
Peter Mikus
<pmikus@cisco.com>
Thu, 2 Feb 2017 08:34:47 +0000
(08:34 +0000)
committer
Peter Mikus
<pmikus@cisco.com>
Fri, 3 Feb 2017 14:39:07 +0000
(14:39 +0000)
Increase timeout during installation of VPP packages to 60s.
Change-Id: I9384564a45951bbfb648c99f25d8de70b79ab783
Signed-off-by: pmikus <pmikus@cisco.com>
resources/tools/topo_installation.py
patch
|
blob
|
history
diff --git
a/resources/tools/topo_installation.py
b/resources/tools/topo_installation.py
index
3e3fda8
..
5dbaaaa
100755
(executable)
--- a/
resources/tools/topo_installation.py
+++ b/
resources/tools/topo_installation.py
@@
-35,9
+35,9
@@
def ssh_no_error(ssh, cmd, sudo=False):
"""
if sudo:
- ret, stdo, stde = ssh.exec_command_sudo(cmd)
+ ret, stdo, stde = ssh.exec_command_sudo(cmd
, timeout=60
)
else:
- ret, stdo, stde = ssh.exec_command(cmd)
+ ret, stdo, stde = ssh.exec_command(cmd
, timeout=60
)
if ret != 0:
print 'Command execution failed: "{}"'.format(cmd)