summaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2020-05-20 14:51:37 -0500
committerMorgan Richomme <morgan.richomme@orange.com>2020-05-20 20:41:31 +0000
commita68b17bd3e903cc49da9115f11f0cf1f1f60fdef (patch)
treef73ede9c8b11e13447fd3a0f0a9a697f6fbac03b /robot/resources/test_templates
parent24b8e8829a7834d60fa793d70c246a812ec9c5b0 (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/test_templates')
-rw-r--r--robot/resources/test_templates/vnf_orchestration_test_template.robot8
1 files changed, 6 insertions, 2 deletions
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