From fcd631f37722651e86b599cbc6d08080bf640fae Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Mon, 7 Oct 2019 11:37:14 -0500 Subject: Fail on DISTRIBUTION_COMPLETE_ERROR Create Keyword for Download CSAR Issue-ID: INT-1314 Change-Id: I576093cea61fd5f77aafb6edd119c254b674a2fc Signed-off-by: Brian Freeman --- robot/resources/sdc_interface.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'robot/resources') 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 -- cgit 1.2.3-korg