20b5b95f1e
Static class variables of FakeProcesses class were used in all test methods. These variables were used in an uncoordinated way causing tests to fail ocassionally, depending on the grouping and ordering of the tests in the worker processes. Code has been refactored and instance variables are used now in all test methods. Change-Id: Ic87a00883dc6cff128809f24164d95eb8c98ae91 Story: 2002848 Task: 22797 |
||
---|---|---|
.. | ||
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.