Fix AodhAlarmTest to use gnocchi
This changes the test to use AodhGnocchiAggregationByMetricsAlarm
and add measures using gnocchi api.
Change-Id: I0b2fe154b93d9882b703e95a0b09f139697ceb9a
Closes-Bug: #1727637
diff --git a/heat_tempest_plugin/common/test.py b/heat_tempest_plugin/common/test.py
index 64fd1a0..39a090c 100644
--- a/heat_tempest_plugin/common/test.py
+++ b/heat_tempest_plugin/common/test.py
@@ -109,7 +109,7 @@
self.network_client = self.manager.network_client
self.volume_client = self.manager.volume_client
self.object_client = self.manager.object_client
- self.metering_client = self.manager.metering_client
+ self.metric_client = self.manager.metric_client
self.client = self.orchestration_client