aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/healthcheck
diff options
context:
space:
mode:
authorvitikkan <viktor.tikkanen@nokia.com>2016-05-25 15:03:52 +0300
committervitikkan <viktor.tikkanen@nokia.com>2016-05-25 15:05:27 +0300
commitbdbd27526ae7fdf91257a7764c1262f96a26c680 (patch)
tree0561fa335b3c01f36cb644738e5bbf4d6c132727 /testcases/OpenStack/healthcheck
parente489b32f757b4a3496711c1b827bee849b38f107 (diff)
Added 60 sec delay before launching instances in healthcheck
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. Change-Id: I05c0b82a7544e934d82f1fa37e2f146aab03f7b9 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
Diffstat (limited to 'testcases/OpenStack/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}