X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fheal_02-scale_vdu_healing.robot;fp=robot-systest%2Ftestsuite%2Fheal_02-scale_vdu_healing.robot;h=e7d696652742335a25f948afea98450637f3df10;hp=191b72e292846c961ed5149df51d4545084a5b23;hb=58710335f2db1e82ec171784891b7cbee71fd360;hpb=39a170c5b66e23ad3f4192daa44279f7b3525296 diff --git a/robot-systest/testsuite/heal_02-scale_vdu_healing.robot b/robot-systest/testsuite/heal_02-scale_vdu_healing.robot index 191b72e..e7d6966 100644 --- a/robot-systest/testsuite/heal_02-scale_vdu_healing.robot +++ b/robot-systest/testsuite/heal_02-scale_vdu_healing.robot @@ -64,24 +64,21 @@ ${success_return_code} 0 *** Test Cases *** Create VNF Descriptors - [Tags] prepare Create VNFD '%{PACKAGES_FOLDER}/${vnfd_charm_pkg}' Create VNFD '%{PACKAGES_FOLDER}/${vnfd_volumes_pkg}' Create NS Descriptor - [Tags] prepare Create NSD '%{PACKAGES_FOLDER}/${nsd_pkg}' Network Service Instance Test - [Tags] prepare ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} Set Suite Variable ${ns_id} ${id} Get NS Id - [Tags] verify cleanup + [Tags] cleanup ${variables} Get Variables IF not "\${ns_id}" in "${variables}" ${id}= Get Ns Id ${ns_name} @@ -90,7 +87,6 @@ Get NS Id Scale Out Charm VNF - [Tags] prepare ${vnf_id}= Get Vnf Id ${ns_id} ${vnf_charm_index} Set Suite Variable ${vnf_charm_id} ${vnf_id} @{vdur_list}= Get Vnf Vdur Names ${vnf_charm_id} @@ -103,7 +99,6 @@ Scale Out Charm VNF Get Charm VNF Info - [Tags] verify Variable Should Exist ${ns_id} msg=NS is not available ${variables} Get Variables IF not "\${vnf_charm_id}" in "${variables}" @@ -119,20 +114,17 @@ Get Charm VNF Info Halt Charm VDU - [Tags] verify Variable Should Exist @{vdu_charm_ids} msg=VDU is not available Halt Server ${vdu_charm_ids}[1] Sleep 15 Heal Charm VDU - [Tags] verify Variable Should Exist ${vnf_charm_id} msg=VNF is not available Heal Network Service ${ns_id} --vnf ${vnf_charm_id} --cause "Heal VM of charm_vnf" --vdu ${vdu_charm_name} --count-index 1 --run-day1 Check VNF After Healing - [Tags] verify Variable Should Exist ${vnf_charm_id} msg=VNF is not available @{ip_list}= Get Vnf Vdur IPs ${vnf_charm_id}