Gabriel Angelo Sgarbi Cocenza ea341f1eb4 Check blocked ovn-chassis units with bad config (#605)
* Check blocked ovn-chassis units with bad config

LP bug#1919481 [0] needs to have a func-test to check if units can
handle bad bridge-interface-mappings configuration and set units
workload to block state and return to active state with good config.

[0] https://bugs.launchpad.net/charm-ovn-chassis/+bug/1919481

* Changing test_wrong_bridge_config to use config_change

Instead of using block_until_unit_wl_status, change the test_config
to be able to check blocked state for ovn-chassis units

Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2021-07-29 11:09:33 +02:00
2020-06-11 15:53:51 +00:00
2021-07-29 09:56:23 +01:00
2020-04-02 15:44:17 +02:00
2021-02-10 10:22:13 +01:00
2021-07-28 16:53:01 +02:00

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
No description provided
Readme Apache-2.0 3.8 MiB
Languages
Python 99.6%
Jinja 0.4%