Functional test robustness and performance fix
In TestNetwork._cleanup_networks, pass network id instead of network name. Task: 6594 Story: 2001617 Change-Id: I696d6b9a8abf3e2d064bd276d1865452ef1e4fea
This commit is contained in:
parent
f672926bc9
commit
9282eb2fdd
|
@ -34,7 +34,7 @@ class TestNetwork(base.BaseFunctionalTestCase):
|
|||
for network in self.operator_cloud.list_networks():
|
||||
if network['name'].startswith(self.network_name):
|
||||
try:
|
||||
self.operator_cloud.delete_network(network['name'])
|
||||
self.operator_cloud.delete_network(network['id'])
|
||||
except Exception as e:
|
||||
exception_list.append(str(e))
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue