Skip CeilometerTest.test_901_pause_resume for ceilometer-agent

The ceilometer-agent charm doesn't have pause/resume
actions anymore. The ceilometer charm still does.

See https://bugs.launchpad.net/charm-ceilometer-agent/+bug/1952882
This commit is contained in:
Aurelien Lourot
2021-12-01 11:49:30 +01:00
parent 1a1dc0a79e
commit 3e7ac87a79
@@ -160,5 +160,10 @@ class CeilometerTest(test_utils.OpenStackBaseTest):
Pause service and check services are stopped then resume and check
they are started.
"""
if self.application_name == 'ceilometer-agent':
logging.info("ceilometer-agent doesn't have pause/resume actions "
"anymore, skipping")
return
with self.pause_resume(self.restartable_services):
logging.info("Testing pause and resume")