Added 60 sec delay before launching instances in healthcheck 57/14657/1
authorvitikkan <viktor.tikkanen@nokia.com>
Wed, 25 May 2016 12:03:52 +0000 (15:03 +0300)
committervitikkan <viktor.tikkanen@nokia.com>
Wed, 25 May 2016 12:05:27 +0000 (15:05 +0300)
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>
testcases/OpenStack/healthcheck/healthcheck.sh

index 611c100..899f96b 100755 (executable)
@@ -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}