Resource ../lib/ssh_lib.resource
Resource ../lib/openstack_lib.resource
-Test Tags heal_04 cluster_heal daily
+Test Tags heal_04 cluster_heal daily regression
Suite Teardown Run Keyword And Ignore Error Suite Cleanup
[Documentation] Get NS identifier and stores as suite variable to be used later on.
[Tags] cleanup
${variables}= Get Variables
- IF not "\${ns_id}" in ${variables}
+ IF not "\${ns_id}" in "${variables}"
${id}= Get Ns Id ${NS_NAME}
Set Suite Variable ${NS_ID} ${id}
END
${id}= Get VNF VIM ID ${vnf_id}
@{vdu_ids}= Split String ${id}
FOR ${id} IN @{vdu_ids}
- IF not ${id} in @{VIM_VDUS}
+ IF not "${id}" in "@{VIM_VDUS}"
Append To List ${VIM_VDUS} ${id}
END
END
Log Checking if server ${vdu_id} is still in VIM
${status}= Run Keyword And Ignore Error Get Server Property ${vdu_id} id
Log ${status}[0]
- IF ${status}[0] == 'PASS'
+ IF '${status}[0]' == 'PASS'
${error}= Set Variable 1
Log Deleting server ${vdu_id}
Run Keyword And Ignore Error Delete Server ${vdu_id}