Wait for Openstack Query 10/90310/1
authorBrian Freeman <bf1936@att.com>
Fri, 21 Jun 2019 14:14:26 +0000 (09:14 -0500)
committerBrian Freeman <bf1936@att.com>
Fri, 21 Jun 2019 14:14:36 +0000 (09:14 -0500)
Issue-ID: INT-1116
Change-Id: I91eb1f560907b1a9e0beffeae525310e32897d7b
Signed-off-by: Brian Freeman <bf1936@att.com>
robot/resources/test_templates/vnf_orchestration_test_template.robot

index b3a4bdd..8c3fe36 100644 (file)
@@ -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