aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/asdc_interface.robot
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2018-05-25 21:09:05 -0500
committerBrian Freeman <bf1936@att.com>2018-05-25 21:10:22 -0500
commitf940ee98c0478e40a0d281ffaa5074b85f4ca6ce (patch)
tree2c29c7aa77c7b0a276672e7a63b93540afa2ef16 /robot/resources/asdc_interface.robot
parent18df891d36df9649227c71cf8b2612a51f416339 (diff)
Fixes for Redist and Shorten time
Issue-ID: AAI-1181 Change-Id: Id5420f4ee46f2ae20e53f0c1b8f1efcbb8c292b2 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/asdc_interface.robot')
-rw-r--r--robot/resources/asdc_interface.robot16
1 files changed, 9 insertions, 7 deletions
diff --git a/robot/resources/asdc_interface.robot b/robot/resources/asdc_interface.robot
index c4c79caf..f31e7c50 100644
--- a/robot/resources/asdc_interface.robot
+++ b/robot/resources/asdc_interface.robot
@@ -73,17 +73,18 @@ Distribute Model From ASDC
\ Distribute ASDC Catalog Service ${catalog_service_id}
\ ${catalog_service_resp}= Get ASDC Catalog Service ${catalog_service_id}
\ ${vf_module}= Find Element In Array ${loop_catalog_resource_resp['groups']} type org.openecomp.groups.VfModule
- \ ${status} Loop Over Check Catalog Service Distributed ${catalog_service_resp['uuid']}
- \ Exit For Loop If ${status}
+ \ ${status} ${_} = Run Keyword And Ignore Error Loop Over Check Catalog Service Distributed ${catalog_service_resp['uuid']}
+ \ Exit For Loop If '${status}'=='PASS'
[Return] ${catalog_service_resp['name']} ${loop_catalog_resource_resp['name']} ${vf_module} ${catalog_resource_ids} ${catalog_service_id} ${catalog_resources}
Loop Over Check Catalog Service Distributed
[Arguments] ${catalog_service_id}
- : FOR ${CHECK_INDEX} IN RANGE 1 7
- \ ${status} Run Keyword And Ignore Error Check Catalog Service Distributed ${catalog_service_id}
- \ Sleep 15s
- \ Exit For Loop if ${status}
- [Return] ${status}
+ : FOR ${CHECK_INDEX} IN RANGE 1 15
+ \ ${status} ${_} = Run Keyword And Ignore Error Check Catalog Service Distributed ${catalog_service_id}
+ \ Sleep 20s
+ \ Return From Keyword If '${status}'=='PASS'
+ Fail
+
Setup ASDC Catalog Resource
[Documentation] Creates all the steps a vf needs for an asdc catalog resource and returns the id
@@ -518,3 +519,4 @@ Create Multi Part
${fileDir} ${fileName}= Split Path ${filePath}
${partData}= Create List ${fileName} ${fileData} ${contentType}
Set To Dictionary ${addTo} ${partName}=${partData}
+