aboutsummaryrefslogtreecommitdiffstats
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:26 +0000
commitb6bd934e9ee0115d6cfdd7dfa59517766a9e89a6 (patch)
tree29367b189e81d11a014f491f979c0019267d0743
parentd5a03fa050091f08324db17b124820169be8e393 (diff)
FIX: Put back sleep to wait for container to boot.
Change-Id: Id63fc8670c7816cc71d8d6d8704ff7f1adf3db65 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 509a1092965c674c581e4080e2e2dc4dec5371c7)
-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()