60e84e4c276955a47ea0d38cd583241e3f5b8fd8
This function was previously called test_901_remove_unit, but had to be renamed (moved to the end of the func tests); The way in which unit removal is now performed (by running the "stop" hook) puts the the removed unit in a "waiting" state -- which consequently causes wait_for_cluster() (e.g. used in 910) to fail (timeout).
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.openstack.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%