1191515eb35617ece80de2a755caeb30aae98e0d
* Make run_package_change_test more robust The run_package_change_test disables auto restarts and then simulates a packages update. It then checks the service has been marked as in need of restarting. However bug #1955498 shows that if a new service is introduced that restarts a disabled service then this is not picked up by the tests. This change queries the last active time of a service proir to the package being updated. If this changes after the package reconfiguration then the service has incorrectly been restarted. Depends-On: https://github.com/openstack-charmers/zaza/pull/478 * Log success too
Zaza OpenStack Tests
This is a test library designed to be shared between the OpenStack Charms to improve code-reuse among the various components.
Usage
This example is taken from the pacemaker-remote charm's tests.yaml:
charm_name: pacemaker-remote
tests:
- zaza.openstack.charm_tests.pacemaker_remote.tests.PacemakerRemoteTest
configure:
- zaza.charm_tests.noop.setup.basic_setup
gate_bundles:
- basic
smoke_bundles:
- basic
test-requirements.txt:
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
Description
Languages
Python
99.6%
Jinja
0.4%