This directory provides Zaza test definitions and bundles to verify basic deployment functionality from the perspective of this charm, its requirements and its features, as exercised in a subset of the full OpenStack deployment test bundle topology.
Run the smoke tests with:
cd ../ tox -e build tox -e func-smoke
For full details on functional testing of OpenStack charms please refer to the functional testing section of the OpenStack Charm Guide.
The Zaza-based charm testing is done in two bundle sets -- stable and edge.
These attempt to map to the stable and edge channels of charms in the bundles.
Sometimes, this is not possible. For example, at the time of writing, cinder does not have an "ussuri/stable" channel.
The following describes the alternatives used when stable or edge channels are not availble for a charm:
Charm | Type | Channel |
---|---|---|
mysql-innodb-cluster, mysql-router | */stable | 8.0/stable |
mysql-innodb-cluster, mysql-router | */edge | latest/edge |
rabbitmq-server | */stable | 3.9/stable |
rabbitmq-server | */edge | 3.9/edge |
OpenStack Base Charms (e.g., cinder, keystone) | ussuri/stable | latest/stable |
OpenStack Base Charms (e.g., cinder, keystone) | wallaby/stable | latest/stable |