aboutsummaryrefslogtreecommitdiffstats
path: root/docker/prepare_env.sh
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-12-22 17:22:49 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2015-12-22 17:22:49 +0100
commitf1a15b02f20c91a617e7475d8ca506db6db10005 (patch)
tree4c9b650de3404ae144501001352eb226d1b53a7f /docker/prepare_env.sh
parent13c0c2d15d2af4dd1a8b4f82e481a8d1574c274d (diff)
Move check_os call to prepare_env.sh
Change-Id: Ifcc9ef24975f83f6c0ee021c76cc056f383f3f5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'docker/prepare_env.sh')
-rwxr-xr-xdocker/prepare_env.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/prepare_env.sh b/docker/prepare_env.sh
index 0c618bff..6127e2cd 100755
--- a/docker/prepare_env.sh
+++ b/docker/prepare_env.sh
@@ -188,6 +188,13 @@ fi
# Source credentials
source ${FUNCTEST_CONF_DIR}/openstack.creds
+# Check OpenStack
+info "Checking that the basic OpenStack services are functional..."
+${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/check_os.sh
+RETVAL=$?
+if [ $RETVAL -ne 0 ]; then
+ exit 1
+fi
# Prepare Functest Environment
info "Functest: prepare Functest environment"