summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-10-07 11:37:14 -0500
committerBrian Freeman <bf1936@att.com>2019-10-07 16:42:02 +0000
commitfcd631f37722651e86b599cbc6d08080bf640fae (patch)
treef59ade2952f4452ddca4fec9bc6db169560a5c01
parent1c373ac5c937f1438ac3895949c706a859aa7a7d (diff)
Fail on DISTRIBUTION_COMPLETE_ERROR
Create Keyword for Download CSAR Issue-ID: INT-1314 Change-Id: I576093cea61fd5f77aafb6edd119c254b674a2fc Signed-off-by: Brian Freeman <bf1936@att.com>
-rw-r--r--robot/resources/sdc_interface.robot2
-rwxr-xr-xrobot/testsuites/demo.robot4
2 files changed, 5 insertions, 1 deletions
diff --git a/robot/resources/sdc_interface.robot b/robot/resources/sdc_interface.robot
index eadcd9c2..4cedcd2e 100644
--- a/robot/resources/sdc_interface.robot
+++ b/robot/resources/sdc_interface.robot
@@ -936,7 +936,7 @@ Check Catalog Service Distributed
\ Log ${ELEMENT['status']}
\ ${SO_COMPLETE} Set Variable If (('${ELEMENT['status']}' == 'DISTRIBUTION_COMPLETE_OK')) or ('${SO_COMPLETE}'=='TRUE') TRUE
\ Exit For Loop If ('${SO_COMPLETE}'=='TRUE')
- \ Exit For Loop If ('${ELEMENT['status']}' == 'DISTRIBUTION_COMPLETE_ERROR')
+ \ Run Keyword If ('${ELEMENT['status']}' == 'DISTRIBUTION_COMPLETE_ERROR') Fatal Error "SO DISTRIBUTION_COMPLETE_ERROR"
\ ${dist_status}= Set Variable If (('${ELEMENT['status']}' == 'COMPONENT_DONE_ERROR') and ('${ELEMENT['omfComponentID']}' == 'aai-ml')) EXIT
\ Exit For Loop If (('${ELEMENT['status']}' == 'COMPONENT_DONE_ERROR') and ('${ELEMENT['omfComponentID']}' == 'aai-ml'))
Should Be True ( '${SO_COMPLETE}'=='TRUE') SO Test
diff --git a/robot/testsuites/demo.robot b/robot/testsuites/demo.robot
index b16de5c9..c2a0b3e2 100755
--- a/robot/testsuites/demo.robot
+++ b/robot/testsuites/demo.robot
@@ -28,6 +28,7 @@ ${HB_VNF}
Initialize Customer And Models
[Tags] InitDemo
Load Customer And Models Demonstration
+ Load Customer SDN-ETHERNET-INTERNET
Initialize SO Openstack Identity For V3
[Tags] InitDemo
@@ -106,3 +107,6 @@ Distribute Demo vFWDT Model
[Timeout] 600
Model Distribution For Directory service=vFWDT
+Download Service CSAR To Robot
+ [Tags] downloadCsar
+ Download CSAR ${CATALOG_SERVICE_ID}