aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2016-05-25 15:26:49 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-25 15:26:49 +0000
commitff4884e24b60306c287d341ee057c106f2b5ba9e (patch)
tree5ce411acb00bc3ade4136cedb0e89a06ad39d8ff
parentdbaa79889cf4297acadd923415dced2d38f90c1c (diff)
parentbdbd27526ae7fdf91257a7764c1262f96a26c680 (diff)
Merge "Added 60 sec delay before launching instances in healthcheck"
-rwxr-xr-xtestcases/OpenStack/healthcheck/healthcheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/testcases/OpenStack/healthcheck/healthcheck.sh b/testcases/OpenStack/healthcheck/healthcheck.sh
index 611c100c..899f96b5 100755
--- a/testcases/OpenStack/healthcheck/healthcheck.sh
+++ b/testcases/OpenStack/healthcheck/healthcheck.sh
@@ -182,6 +182,11 @@ info "...Neutron OK!"
info "Testing Nova API..."
#################################
+# This delay should be removed after resolving Jira case APEX-149.
+# The purpose is to give some time to populate openflow rules
+# by SDN controller in case of odl_l2 scenario.
+sleep 60
+
nova boot --flavor 2 --image ${image_1} --nic net-id=${net1_id} ${instance_1}
debug "nova instance '${instance_1}' booted on ${net_1}."
nova boot --flavor 2 --image ${image_1} --nic net-id=${net1_id} ${instance_2}