From: Brian Freeman Date: Fri, 21 Jun 2019 14:14:26 +0000 (-0500) Subject: Wait for Openstack Query X-Git-Tag: 1.5.0~40 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=25de6dc9c7f65c0a8d6c1d400e6ec6f26761d82b;p=testsuite.git Wait for Openstack Query Issue-ID: INT-1116 Change-Id: I91eb1f560907b1a9e0beffeae525310e32897d7b Signed-off-by: Brian Freeman (cherry picked from commit f27f0043257aec0bf6ea2836b5a617fe029f1381) --- 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