X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fheal_02-scale_vdu_healing.robot;h=5bdcf36f83d9b9aa44cbd957b0a46572d2e3ae7d;hb=b731aaccb1bc7041b55fe4801e26177f0e3c6cbe;hp=c7bd157cf84d5e8f6050acc85875550035d84f76;hpb=10320257d87adb8e007bc7bb1a5f2c7cdd77417b;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/heal_02-scale_vdu_healing.robot b/robot-systest/testsuite/heal_02-scale_vdu_healing.robot index c7bd157..5bdcf36 100644 --- a/robot-systest/testsuite/heal_02-scale_vdu_healing.robot +++ b/robot-systest/testsuite/heal_02-scale_vdu_healing.robot @@ -26,7 +26,7 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/openstack_lib.robot -Force Tags heal_02 cluster_main daily regression +Force Tags heal_02 cluster_heal daily regression Suite Teardown Run Keyword And Ignore Error Suite Cleanup @@ -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}" @@ -118,21 +113,18 @@ Get Charm VNF Info Set Suite Variable @{charm_ip_list} @{charm_ip_list} -Stop Charm VDU - [Tags] verify +Halt Charm VDU Variable Should Exist @{vdu_charm_ids} msg=VDU is not available - Stop Server ${vdu_charm_ids}[1] + 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}