778d36e1fa958e358ca378d2b6f3b759f81e05af
Manila Ganesha is not always deployed in an ha configuration in functional tests. This means there is no automated restart of the manila services but the _restart_share_instance method shuts down manila services via systemctl and expects them to be automatically started. This change detects if the hacluster charm is present, if it is it defaults it used the old behaviour otherwise systemctl is used to restart the services.
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%