Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't test nrpe bits on rabbitmq-server. (#793) [yoga backport] #958

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions zaza/openstack/charm_tests/rabbitmq_server/tests.py
Expand Up @@ -271,6 +271,13 @@ def _retry_check_commands_on_units(self, cmds, units):

def test_414_rmq_nrpe_monitors(self):
"""Check rabbimq-server nrpe monitor basic functionality."""
try:
zaza.model.get_application("nrpe")
except KeyError:
logging.warn(("Skipping as nrpe is not deployed. "
"http://pad.lv/1968008"))
return

units = zaza.model.get_units(self.application_name)
host_names = generic_utils.get_unit_hostnames(units)

Expand Down