Add the forgotten cleanup, that potentially messes up the next test in the py311 test

(if called by the same worker..)

Change-Id: I3d0a354d999f7a69b7ae5ceaf9ab2f3d59739132
This commit is contained in:
Michel Nederlof 2024-07-04 07:49:22 +00:00
parent a4e307e6f5
commit c0459dc8c6

View File

@ -847,6 +847,9 @@ class TestWire(test_base.TestCase):
CONF.set_override(
'advertisement_method_tenant_networks',
constants.ADVERTISEMENT_METHOD_SUBNET)
self.addCleanup(
CONF.clear_override,
'advertisement_method_tenant_networks')
routing_tables_routes = {}
ip = '10.0.0.1/24'
bridge_device = 'fake-bridge'