summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-06-21 09:14:26 -0500
committerGary Wu <gary.wu@futurewei.com>2019-06-21 21:04:22 +0000
commit25de6dc9c7f65c0a8d6c1d400e6ec6f26761d82b (patch)
tree358b6339b06149fbb902e0ed8520674d4f265756
parentf1621dea58fa5beb96356550918a7637d0133034 (diff)
Wait for Openstack Query
Issue-ID: INT-1116 Change-Id: I91eb1f560907b1a9e0beffeae525310e32897d7b Signed-off-by: Brian Freeman <bf1936@att.com> (cherry picked from commit f27f0043257aec0bf6ea2836b5a617fe029f1381)
-rw-r--r--robot/resources/test_templates/vnf_orchestration_test_template.robot3
1 files changed, 2 insertions, 1 deletions
diff --git a/robot/resources/test_templates/vnf_orchestration_test_template.robot b/robot/resources/test_templates/vnf_orchestration_test_template.robot
index 6b84a424..14673869 100644
--- a/robot/resources/test_templates/vnf_orchestration_test_template.robot
+++ b/robot/resources/test_templates/vnf_orchestration_test_template.robot
@@ -282,7 +282,8 @@ Get Stack Keypairs
[Documentation] Get keypairs from openstack
[Arguments] ${stack}
Run Openstack Auth Request auth
- ${stack_info}= Get Stack Details auth ${stack}
+ # Openstack can be delayed in making stack available to API
+ ${stack_info}= Wait Until Keyword Succeeds 300s 15s Get Stack Details auth ${stack}
Log ${stack_info}
${stack_id}= Get From Dictionary ${stack_info} id
${key_pair_status} ${keypair_name}= Run Keyword And Ignore Error Get From Dictionary ${stack_info} key_name