From: Brian Freeman Date: Fri, 21 Jun 2019 14:14:26 +0000 (-0500) Subject: Wait for Openstack Query X-Git-Tag: 1.4.2~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f27f0043257aec0bf6ea2836b5a617fe029f1381;p=testsuite.git Wait for Openstack Query Issue-ID: INT-1116 Change-Id: I91eb1f560907b1a9e0beffeae525310e32897d7b Signed-off-by: Brian Freeman --- diff --git a/robot/resources/test_templates/vnf_orchestration_test_template.robot b/robot/resources/test_templates/vnf_orchestration_test_template.robot index b3a4bdda..8c3fe365 100644 --- a/robot/resources/test_templates/vnf_orchestration_test_template.robot +++ b/robot/resources/test_templates/vnf_orchestration_test_template.robot @@ -278,7 +278,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