X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fcli%2FTS01__Test_VNF.robot;h=84e1f92721d53255a1cef924b57eb08c5c2a31ae;hb=50d786e60c1399ab4b1d9141b20f59e7d394ad9a;hp=08a4e0ead26ba94736c0f3dfa37e4e5e4c70615a;hpb=5ab467ee97ee5a6e7c93fe7ab19ab313b38c26ab;p=osm%2Fdevops.git diff --git a/robot-systest/testsuite/cli/TS01__Test_VNF.robot b/robot-systest/testsuite/cli/TS01__Test_VNF.robot index 08a4e0ea..84e1f927 100644 --- a/robot-systest/testsuite/cli/TS01__Test_VNF.robot +++ b/robot-systest/testsuite/cli/TS01__Test_VNF.robot @@ -42,8 +42,6 @@ Suite Teardown Run Keyword And Ignore Error Test Cleanup @{vnfd_ids} @{nsd_ids} @{ns_ids} -@{vim} -#${vim_name} robot_test *** Test Cases *** @@ -66,14 +64,18 @@ Create NS Descriptor Test Network Service Instance Test [Documentation] Launch and terminate network services [Tags] sanity - [Setup] VIM Setup To Launch Network Services - [Teardown] Run Keyword And Ignore Error Network Service Instance Cleanup - Should Not Be Empty ${vim} VIM details not provided :FOR ${vim_name} IN @{vim} \ Launch Network Services and Return ${vim_name} +Delete NS Instance Test + [Tags] sanity + + :FOR ${ns} IN @{ns_ids} + \ Delete NS ${ns} + + Delete NS Descriptor Test [Tags] sanity smoke @@ -90,20 +92,16 @@ Delete VNF Descriptor Test *** Keywords *** Test Cleanup - [Documentation] Test Suit Cleanup: Forcefully delete NSD and VNFD + [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim + + :FOR ${ns} IN @{ns_ids} + \ Delete NS ${ns} :FOR ${nsd} IN @{nsd_ids} - \ Force Delete NSD ${nsd} + \ Delete NSD ${nsd} :FOR ${vnfd} IN @{vnfd_ids} - \ Force Delete VNFD ${vnfd} - - -Network Service Instance Cleanup - [Documentation] Forcefully delete created network service instances and vim account - - :FOR ${ns} IN @{ns_ids} - \ Force Delete NS ${ns} + \ Delete VNFD ${vnfd} - :FOR ${vim_id} IN @{vim} - \ Force Delete Vim Account ${vim_id} +# :FOR ${vim_id} IN @{vim} +# \ Delete Vim Account ${vim_id}