[Ci] Check Heat service availability in tests.ci.osresources
Make a check if `heat' service is available in tests.ci.osresources to prevent failures while quering heat resources on jobs that does not have heat installed. This fixes issues with job gate-rally-dsvm-manila-multibackend Change-Id: Id3c4c24114d6db99e9e4fce43162fa6ce0b20d61 Closes-Bug: #1518913
This commit is contained in:
parent
497d559e8e
commit
676693c72d
@ -164,6 +164,8 @@ class Glance(ResourceManager):
|
||||
|
||||
class Heat(ResourceManager):
|
||||
|
||||
REQUIRED_SERVICE = consts.Service.HEAT
|
||||
|
||||
def list_resource_types(self):
|
||||
return self.client.resource_types.list()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user