summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Pisarski <s.pisarski@cablelabs.com>2018-07-16 20:37:46 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-07-16 20:37:46 +0000
commit90ca47a7027f37d7528ec0b022306ba6472fd412 (patch)
treeda218e3aac8c7b5319d22df4c7ee7d237fcf99e4
parent10a7ea2ecc6796a067cc6413bc4097d9c6e5815a (diff)
parent7d564e441d3f3897245af1124769ddc92afc4a73 (diff)
Merge "Cleaned up extra network created in the test test_set_one_port_two_ip_two_subnets()"HEADmaster
-rw-r--r--snaps/openstack/tests/create_instance_tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/snaps/openstack/tests/create_instance_tests.py b/snaps/openstack/tests/create_instance_tests.py
index a45654f..0becbf4 100644
--- a/snaps/openstack/tests/create_instance_tests.py
+++ b/snaps/openstack/tests/create_instance_tests.py
@@ -1454,6 +1454,14 @@ class CreateInstancePortManipulationTests(OSIntegrationTestCase):
'Unexpected exception cleaning network with message - %s',
e)
+ if self.network_creator2:
+ try:
+ self.network_creator2.clean()
+ except Exception as e:
+ logger.error(
+ 'Unexpected exception cleaning network with message - %s',
+ e)
+
if self.image_creator and not self.image_creator.image_settings.exists:
try:
self.image_creator.clean()