Fix Heal02 to check properly that the flavor ID is part of vim_info 47/13547/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 19 Jun 2023 10:48:04 +0000 (12:48 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 19 Jun 2023 13:05:24 +0000 (15:05 +0200)
Change-Id: Icf2281d4214e7acaf5fb69b99bff200c7c80f859
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
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