diff options
author | Brian Freeman <bf1936@att.com> | 2020-05-20 14:51:37 -0500 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2020-05-20 20:41:31 +0000 |
commit | a68b17bd3e903cc49da9115f11f0cf1f1f60fdef (patch) | |
tree | f73ede9c8b11e13447fd3a0f0a9a697f6fbac03b /robot/resources | |
parent | 24b8e8829a7834d60fa793d70c246a812ec9c5b0 (diff) |
Updates for stability testing
Issue-ID: INT-1598
Change-Id: Ic8bd8accd6add98a3f299e9e7db5fd7c6303d36f
Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources')
-rw-r--r-- | robot/resources/sdc_interface.robot | 2 | ||||
-rw-r--r-- | robot/resources/test_templates/vnf_orchestration_test_template.robot | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/robot/resources/sdc_interface.robot b/robot/resources/sdc_interface.robot index 46a4fa01..3382f648 100644 --- a/robot/resources/sdc_interface.robot +++ b/robot/resources/sdc_interface.robot @@ -245,7 +245,7 @@ Create Allotted Resource Data File Download CSAR [Documentation] Download CSAR - [Arguments] ${catalog_service_id} ${save_directory}=/share/csar + [Arguments] ${catalog_service_id} ${save_directory}=/share/logs/csars Return From Keyword If '${catalog_service_id}'=='None' # get meta data ${resp}= SDC.Run Get Request ${SDC_BE_ENDPOINT} ${SDC_CATALOG_SERVICES_PATH}/${catalog_service_id}/filteredDataByParams?include=toscaArtifacts ${SDC_DESIGNER_USER_ID} auth=${GLOBAL_SDC_AUTHENTICATION} diff --git a/robot/resources/test_templates/vnf_orchestration_test_template.robot b/robot/resources/test_templates/vnf_orchestration_test_template.robot index 15ec02ea..ac5c9cd1 100644 --- a/robot/resources/test_templates/vnf_orchestration_test_template.robot +++ b/robot/resources/test_templates/vnf_orchestration_test_template.robot @@ -90,7 +90,8 @@ Orchestrate Demo VNF ... '${service}'=='vFW' demoVFW ... '${service}'=='vLB' demoVLB ${lcp_region}= Get Openstack Region - ${uuid}= Generate UUID4 + ${full_uuid}= Generate UUID4 + ${uuid}= Evaluate str("${full_uuid}")[:8] ${full_customer_name}= Catenate ${customer_name}_${uuid} ${list}= Create List ${vf_module_name_list}= Create List @@ -100,7 +101,8 @@ Orchestrate Demo VNF ${server_id}= Run Keyword If '${service}' == 'vVG' Create VVG Server ${uuid} Create Customer For VNF ${full_customer_name} ${full_customer_name} INFRA ${service_type} ${GLOBAL_AAI_CLOUD_OWNER} ${tenant_id} Setup Browser - Login To VID GUI + Run Keyword If "${API_TYPE}"=="GRA_API" Login To VID GUI gr_api + ... ELSE Login To VID GUI ${service_instance_id}= Wait Until Keyword Succeeds 300s 5s Create VID Service Instance ${full_customer_name} ${service_model_type} ${service} ${service_name} ${project_name} ${owning_entity} Wait Until Keyword Succeeds 120s 15s Validate Service Instance ${service_instance_id} ${service} ${full_customer_name} ServiceMapping.Set Directory default ${GLOBAL_SERVICE_MAPPING_DIRECTORY} @@ -154,6 +156,8 @@ Get Catalog Resource \ ${cr}= Get From Dictionary ${resources} ${key} \ Return From Keyword If '${base_name}' in '${cr['allArtifacts']['heat1']['artifactDisplayName']}' ${cr} \ Run Keyword If 'heat2' in ${cr['allArtifacts']} Return From Keyword If '${base_name}' in '${cr['allArtifacts']['heat2']['artifactDisplayName']}' ${cr} + \ Run Keyword If 'heat3' in ${cr['allArtifacts']} Return From Keyword If '${base_name}' in '${cr['allArtifacts']['heat3']['artifactDisplayName']}' ${cr} + \ Run Keyword If 'heat4' in ${cr['allArtifacts']} Return From Keyword If '${base_name}' in '${cr['allArtifacts']['heat4']['artifactDisplayName']}' ${cr} Fail Unable to find catalog resource for ${vnf} ${base_name} Get Name Pattern |