X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fk8s_03-simple_k8s.robot;h=c905266ceb12f4a160364d9b78ad7d26ac58ead5;hb=d225e550e79fdbb9f667975102b17232eca893c1;hp=081219d97f6352326b0e27f61b22b79f9e90c908;hpb=15589053373c07bea08a52a6fc8dbcd6d80603ac;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/k8s_03-simple_k8s.robot b/robot-systest/testsuite/k8s_03-simple_k8s.robot index 081219d..c905266 100644 --- a/robot-systest/testsuite/k8s_03-simple_k8s.robot +++ b/robot-systest/testsuite/k8s_03-simple_k8s.robot @@ -28,7 +28,7 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/k8scluster_lib.robot Variables %{ROBOT_DEVOPS_FOLDER}/resources/k8s_03-simple_k8s_data.py -Suite Teardown Run Keyword And Ignore Error Test Cleanup +Suite Teardown Run Keyword And Ignore Error Suite Cleanup *** Variables *** @@ -90,9 +90,9 @@ Delete VNF NS Packages *** Keywords *** -Test Cleanup +Suite Cleanup [Documentation] Test Suit Cleanup: Deleting Descriptor, instance and vim - Run Keyword If Test Failed Delete NS ${ns_name} - Run Keyword If Test Failed Delete NSD ${nsd_name} - Run Keyword If Test Failed Delete VNFD ${vnfd_name} - Run Keyword If Test Failed Delete K8s Cluster ${k8scluster_name} + Run Keyword If Any Tests Failed Delete NS ${ns_name} + Run Keyword If Any Tests Failed Delete NSD ${nsd_name} + Run Keyword If Any Tests Failed Delete VNFD ${vnfd_name} + Run Keyword If Any Tests Failed Delete K8s Cluster ${k8scluster_name}