Bug 2327 fix to verify ipaddress in sol003_02 testsuite
[osm/tests.git] / robot-systest / testsuite / heal_04-autohealing.robot
index c560194..048e7ad 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_04   cluster_heal   daily
+Test Tags   heal_04   cluster_heal   daily   regression
 
 Suite Teardown   Run Keyword And Ignore Error   Suite Cleanup
 
@@ -79,7 +79,7 @@ Get NS Id
     [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
@@ -147,7 +147,7 @@ Update VIM Objects
         ${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
@@ -177,7 +177,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}