Pop VM from list after deleting it 14/67514/2
authorSam Hague <shague@redhat.com>
Tue, 23 Jan 2018 17:09:11 +0000 (12:09 -0500)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 23 Jan 2018 17:13:10 +0000 (17:13 +0000)
Change-Id: Ib75b5632e530a858ed32d0eb4630a542e4d78de2
Signed-off-by: Sam Hague <shague@redhat.com>
csit/suites/openstack/clustering/ha_l2.robot

index 8f72f38750d1a11f59007c84ddb124929ca391b5..9033627671ba8f07957077020e01184e0ba032b4 100644 (file)
@@ -193,8 +193,10 @@ Bring Up ODL1 and ODL2
     ClusterManagement.Start Members From List Or All    ${CLUSTER_DOWN_LIST}
 
 Delete Vm Instance
-    [Documentation]    Delete Vm instances using instance names.
+    [Documentation]    Delete Vm instances using instance names. Also remove the VM from the
+    ...    list so that later cleanup will not try to delete it.
     OpenStackOperations.Delete Vm Instance    @{NET_1_VMS}[0]
+    Remove From List    ${NET_1_VMS}    0
 
 No Ping For Deleted Vm
     [Documentation]    Check non reachability of deleted vm instances by pinging to them.