Add regression tag to tests used in v14
[osm/tests.git] / robot-systest / testsuite / heal_02-scale_vdu_healing.robot
index dec7572..c7ea7c7 100644 (file)
@@ -29,7 +29,7 @@ Resource   ../lib/ns_operation_lib.resource
 Resource   ../lib/ssh_lib.resource
 Resource   ../lib/openstack_lib.resource
 
-Test Tags   heal_02   cluster_heal   daily
+Test Tags   heal_02   cluster_heal   daily   regression
 
 Suite Teardown   Run Keyword And Ignore Error   Suite Cleanup
 
@@ -95,7 +95,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
@@ -127,7 +127,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
@@ -139,7 +139,7 @@ Get Charm VNF Info
     [Documentation]   Get VDU ID and IP addresses of the charm VNF and stores them in VDU_CHARM_IDS and CHARM_IP_LIST.
     Variable Should Exist   ${NS_ID}   msg=NS is not available
     ${variables}=   Get Variables
-    IF   not "\${vnf_charm_id}" in ${variables}
+    IF   not "\${vnf_charm_id}" in "${variables}"
         ${vnf_id}=   Get Vnf Id   ${NS_ID}   ${VNF_CHARM_INDEX}
         Set Suite Variable   ${VNF_CHARM_ID}   ${vnf_id}
     END
@@ -190,7 +190,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
@@ -199,7 +199,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
@@ -255,7 +255,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}