X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fheal_01-volume_vdu_healing.robot;h=75edec236531f9691b1a37dda13f32ff8a705e29;hb=166c8913bba24b153968d0a739313b129e3d3432;hp=de2467a2c203b0b4854612ffee1cd43f9232095c;hpb=5e001f506b744021d5ef25999c9da28cf56d8fbc;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/heal_01-volume_vdu_healing.robot b/robot-systest/testsuite/heal_01-volume_vdu_healing.robot index de2467a..75edec2 100644 --- a/robot-systest/testsuite/heal_01-volume_vdu_healing.robot +++ b/robot-systest/testsuite/heal_01-volume_vdu_healing.robot @@ -29,7 +29,7 @@ Resource ../lib/ns_operation_lib.resource Resource ../lib/ssh_lib.resource Resource ../lib/openstack_lib.resource -Test Tags heal_01 cluster_heal daily +Test Tags heal_01 cluster_heal daily regression Suite Teardown Run Keyword And Ignore Error Suite Cleanup @@ -81,7 +81,7 @@ Get NS Id [Documentation] Get NS identifier. [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 @@ -101,7 +101,7 @@ Get VIM Objects ${volumes_attached}= Get Server Property ${vdu_id} volumes_attached ${match}= Get Regexp Matches ${volumes_attached} '([0-9a-f\-]+)' 1 IF ${match} != @{EMPTY} - IF not ${match}[0] in @{VIM_VOLUMES} + IF not "${match}[0]" in "@{VIM_VOLUMES}" Append To List ${VIM_VOLUMES} ${match}[0] END END @@ -187,7 +187,7 @@ Update VIM Objects @{vdu_ids}= Split String ${id} Append To List ${vdu_updated} @{vdu_ids} 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 @@ -196,7 +196,7 @@ Update VIM Objects ${volumes_attached}= Get Server Property ${vdu_id} volumes_attached ${match}= Get Regexp Matches ${volumes_attached} '([0-9a-f\-]+)' 1 IF ${match} != @{EMPTY} - IF not ${match}[0] in @{VIM_VOLUMES} + IF not "${match}[0]" in "@{VIM_VOLUMES}" Append To List ${VIM_VOLUMES} ${match}[0] END END @@ -251,7 +251,7 @@ Delete Objects In VIM 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}