Use 'aodh' for aodh service availability
below patch rename the aodh service_available config option from 'aodh_plugin' to 'aodh'. - I7739e0b672a7211a1d643543fdc79031affa0a0b This patch make congress tempest test to use the new name so that it can be fetched correctly from devstack setting on tempest config file. Depends-On: I7739e0b672a7211a1d643543fdc79031affa0a0b Change-Id: Iccfc40cc738994d6c7d08cbea845e0c2f888b995 Related-Bug: #1743688
This commit is contained in:
parent
5ab8c3ed6a
commit
e58b0eb52d
|
@ -29,7 +29,7 @@ class TestAodhDriver(manager_congress.ScenarioPolicyBase):
|
|||
@classmethod
|
||||
def skip_checks(cls):
|
||||
super(TestAodhDriver, cls).skip_checks()
|
||||
if not getattr(CONF.service_available, 'aodh_plugin', False):
|
||||
if not getattr(CONF.service_available, 'aodh', False):
|
||||
msg = ("%s skipped as aodh is not available" %
|
||||
cls.__class__.__name__)
|
||||
raise cls.skipException(msg)
|
||||
|
|
|
@ -68,7 +68,7 @@ class ScenarioPolicyBase(manager.NetworkScenarioTest):
|
|||
auth_prov, "network", CONF.identity.region)
|
||||
|
||||
# Get alarms client
|
||||
if getattr(CONF.service_available, 'aodh_plugin', False):
|
||||
if getattr(CONF.service_available, 'aodh', False):
|
||||
import telemetry_tempest_plugin.aodh.service.client as alarm_client
|
||||
cls.os_admin.alarms_client = (
|
||||
alarm_client.AlarmingClient(
|
||||
|
|
Loading…
Reference in New Issue