X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fheal_04-autohealing.robot;fp=robot-systest%2Ftestsuite%2Fheal_04-autohealing.robot;h=73b89905c8110f2ff07f54c17bf548db417c631f;hp=024cd3dad0399ceb78e0860242b9a4ce41d9d368;hb=b356eec6c46ac58228321f1ab6c307720e306a8c;hpb=eb302297bd3dfd3977a24bfc3ef5d10547dfc98c diff --git a/robot-systest/testsuite/heal_04-autohealing.robot b/robot-systest/testsuite/heal_04-autohealing.robot index 024cd3d..73b8990 100644 --- a/robot-systest/testsuite/heal_04-autohealing.robot +++ b/robot-systest/testsuite/heal_04-autohealing.robot @@ -93,20 +93,16 @@ Get VNF Info Stop Autoheal VDU Variable Should Exist ${vdu_autoheal_id} msg=VDU is not available Halt Server ${vdu_autoheal_id} - Sleep 20 + Sleep 30 Wait For Autohealing To Be Completed - FOR ${Index} IN RANGE 0 15 - ${status}= Run Keyword And Return Status Get Operations By Type ${ns_id} heal - Run Keyword If ${status} Exit For Loop - ... ELSE Sleep 10 - END - ${stdout}= Get Operations By Type ${ns_id} heal ${healing_max_wait_time}= Convert Time ${healing_max_wait_time} result_format=number ${healing_max_wait_time}= Evaluate ${healing_max_wait_time} * ${vim_timeout_multiplier} - Wait Until Keyword Succeeds ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} - Check For NS Operation Completed ${stdout} + Wait Until Keyword Succeeds ${healing_max_wait_time} ${healing_pol_time} Get Operations By Type ${ns_id} heal + ${stdout}= Get Operations By Type ${ns_id} heal + Wait Until Keyword Succeeds ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} + Check For NS Operation Completed ${stdout} Check VNF After Healing