Artifacts removing missed
We should clean lists of artifacts to prevent
duplicate removing attempt after the test execution.
Change-Id: I5384c907acbb227929363215fa0e2e22a84d5738
Closes-Bug: 1594610
(cherry picked from commit 163fd05841
)
This commit is contained in:
parent
e896751c3c
commit
ed79fe26d9
|
@ -110,12 +110,15 @@ class NeutronBaseTest(fuel_health.nmanager.NovaNetworkScenarioTest):
|
||||||
router['id'], {"subnet_id": subnet_id})
|
router['id'], {"subnet_id": subnet_id})
|
||||||
|
|
||||||
self.neutron_client.delete_router(router['id'])
|
self.neutron_client.delete_router(router['id'])
|
||||||
|
self.routers.pop(router['id'])
|
||||||
|
|
||||||
def _remove_subnet(self, subnet):
|
def _remove_subnet(self, subnet):
|
||||||
return self.neutron_client.delete_subnet(subnet['id'])
|
self.neutron_client.delete_subnet(subnet['id'])
|
||||||
|
self.subnets.remove(subnet)
|
||||||
|
|
||||||
def _remove_network(self, network):
|
def _remove_network(self, network):
|
||||||
self.neutron_client.delete_network(network['id'])
|
self.neutron_client.delete_network(network['id'])
|
||||||
|
self.networks.remove(network)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _clean_floating_ips(cls):
|
def _clean_floating_ips(cls):
|
||||||
|
|
Loading…
Reference in New Issue