2099661acb
In standard system locations, check for the client.admin key for each detected Ceph cluster and conditionally suppress Ceph agent checks that require it if it is not found. Change-Id: If3a28ceb5cdde40749d077ad465054eba37c848c Story: 2005172 |
||
---|---|---|
.. | ||
checks_d | ||
detection | ||
__init__.py | ||
common.py | ||
README.md | ||
test_agent_check.py | ||
test_aggregator.py | ||
test_checks_utils.py | ||
test_config.py | ||
test_keystone.py | ||
test_metrics.py | ||
test_modify_config.py | ||
test_process.py | ||
test_service_plugin.py | ||
test_services_check.py | ||
test-agent.yaml |
Tests for the mon agent.
Run with nosestests -w tests
For many tests to work an agent.yaml must be in either /etc/monasca/agent/agent.yaml or in the working directory.
Many tests require specific applications enabled in order for the test to run, these are skipped by default. See https://nose.readthedocs.org/en/latest/plugins/skip.html for details.