aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-01-30 09:30:53 +0000
committerPeter Mikus <pmikus@cisco.com>2019-01-30 09:33:09 +0000
commit509a1092965c674c581e4080e2e2dc4dec5371c7 (patch)
treecbaa571747faf848ee2bebdb9bf107e249b23f5b /resources/libraries/python
parent644d2d68041079d604c5055e41da78150ea04e89 (diff)
FIX: Put back sleep to wait for container to boot.
Change-Id: Id63fc8670c7816cc71d8d6d8704ff7f1adf3db65 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/ContainerUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/ContainerUtils.py b/resources/libraries/python/ContainerUtils.py
index 8c299247e8..fbfb890dfe 100644
--- a/resources/libraries/python/ContainerUtils.py
+++ b/resources/libraries/python/ContainerUtils.py
@@ -141,7 +141,7 @@ class ContainerManager(object):
self.engine.container = self.containers[container]
# We need to install supervisor client/server system to control VPP
# as a service
- self.engine.execute('apt-get update')
+ self.engine.execute('sleep 3; apt-get update')
self.engine.install_supervisor()
self.engine.install_vpp()
self.engine.restart_vpp()