Improved cleanup of slice_01 and slice_02 tests
[osm/tests.git] / robot-systest / testsuite / slice_01-network_slicing.robot
index 5dac832..09c7929 100644 (file)
@@ -137,7 +137,7 @@ Test Slice Connectivity
     Ping Many   ${mgmt_vnf_ip}  ${username}  ${password}  ${privatekey}   @{slice_vnfs_ips}
 
 
-Stop Slice Instance
+Delete Slice Instance
     [Documentation]   Stops the slice instance (slice_name)
 
     [Tags]   basic_network_slicing   SLICING-01   sanity   regression   cleanup
@@ -175,6 +175,8 @@ Delete VNF Descriptors
 Suite Cleanup
     [Documentation]  Test Suit Cleanup: Deleting Descriptors, instance and template
 
+    Run Keyword If Any Tests Failed  Delete NSI   ${slice_name}
+
     Run Keyword If Any Tests Failed  Delete NST   ${nst_name}
 
     Run Keyword If Any Tests Failed  Delete NSD   ${nsd1_name}