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:
Monty Taylor 2019-01-10 14:43:04 +00:00
parent 7f4b2b4068
commit 35d57b9c86
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 1 additions and 1 deletions

View File

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