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:
Tobias Brox 2018-02-28 23:12:58 +01:00 committed by Monty Taylor
parent f672926bc9
commit 9282eb2fdd
1 changed files with 1 additions and 1 deletions

View File

@ -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