a8ca4720a3d9199949a24e61db3129b21b3ea269
Before this fix, the test tried to determine the OpenStack release based on the ceph-mon charm. Unfortunately Ceph has the same version on Ussuri and Victoria. As a consequence the test would wrongly conclude that it's testing against "groovy_ussuri", which isn't a valid Ubuntu/OpenStack pair. With this fix, the test now determines the OpenStack release based on the keystone charm, with which we are able to tell Ussuri and Victoria apart. This test class is being run against the following charm functional tests at the moment, which all have a keystone charm in their test bundles: nova-compute, cinder-ceph, glance, ceph-fs, ceph-radosgw and gnocchi.
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%