performance improvement in the processor.
Use set instead of using list. Change-Id: I61fd045b8e228d06aeb3221dc753079a123ec11c
This commit is contained in:
parent
a6ead15116
commit
d4505d303a
@ -134,14 +134,11 @@ class BaseApiTest(base.BaseTestCase):
|
||||
if public_net:
|
||||
kwargs.update({"networks": [{'uuid': public_net['id']}]})
|
||||
|
||||
# public_net = self._get_public_network()
|
||||
# nics = [{'net-id': public_net['id']}]
|
||||
img = images_list.next()
|
||||
resources = [self.nova_client.servers.create(
|
||||
name='%s-%s' % ('vm', index),
|
||||
flavor=flavors_list[0],
|
||||
image=img,
|
||||
# nics=nics,
|
||||
**kwargs) for index in range(num_instances)]
|
||||
|
||||
self._wait_for_status(30,
|
||||
|
Loading…
x
Reference in New Issue
Block a user