Fix Heal02 to check properly that the flavor ID is part of vim_info
[osm/tests.git] / robot-systest / testsuite / heal_02-scale_vdu_healing.robot
index eedd94b..fc79217 100644 (file)
@@ -173,8 +173,8 @@ Check VNF After Healing
     ${stdout}=   Execute Remote Command Check Rc Return Output   ${ip}   ${username}   ${password}   ${privatekey}   sudo ls ${vnf_charm_cloudinit_file}
     Log   ${stdout}
     Check If remote File Exists   ${ip}   ${username}   ${password}   ${privatekey}   ${vnf_charm_day1_file}
-    ${vim_info}=   Get Vdu Attribute   ${vnf_charm_id}   vim_info
-    Should Contain   ${vim_info}   flavor: {id: ${flavor_id},   msg=Flavor ID is incorrect
+    ${vim_info}=   Get Vdu Attribute   ${vnf_charm_id}   vim_info   1
+    Should Contain   ${vim_info}   id: ${flavor_id}   msg=Flavor ID is incorrect
 
 
 Update VIM Objects