Restrict inventory test to devstack-admin
There are multiple different cloud entries in clouds.yaml now. That means that doing an inventory across all configured clouds gets weird, especially when we're tossing system scoped accounts in there. Change-Id: I12e834996052dae0cd07e5e5092906dd1e8a4f81
This commit is contained in:
parent
7f4b2b4068
commit
35d57b9c86
|
@ -30,7 +30,7 @@ class TestInventory(base.BaseFunctionalTest):
|
|||
super(TestInventory, self).setUp()
|
||||
# This needs to use an admin account, otherwise a public IP
|
||||
# is not allocated from devstack.
|
||||
self.inventory = inventory.OpenStackInventory()
|
||||
self.inventory = inventory.OpenStackInventory(cloud='devstack-admin')
|
||||
self.server_name = self.getUniqueString('inventory')
|
||||
self.flavor = pick_flavor(
|
||||
self.user_cloud.list_flavors(get_extra=False))
|
||||
|
|
Loading…
Reference in New Issue