Fix TestAlarmsCount failure in tempest tests
This will fix following error: RuntimeError: resource_cleanup for TestAlarmsCount did not call the super's resource_cleanup. Change-Id: I700285eb0b0408678b93431bcc3de47e67f28e75
This commit is contained in:
parent
1904adbafc
commit
05d724cca7
|
@ -159,8 +159,7 @@ class TestAlarmsCount(base.BaseMonascaTest):
|
|||
|
||||
@classmethod
|
||||
def resource_cleanup(cls):
|
||||
for definition_id in cls.alarm_definition_ids:
|
||||
cls.monasca_client.delete_alarm_definition(definition_id)
|
||||
super(TestAlarmsCount, cls).resource_cleanup()
|
||||
|
||||
def _verify_counts_format(self, response_body, group_by=None, expected_length=None):
|
||||
expected_keys = ['links', 'counts', 'columns']
|
||||
|
|
Loading…
Reference in New Issue