charm-mysql-router/unit_tests
Nicolas Bock 17595788ed
Add cleanup of configuration files on `stop`
When this subordinate is removed from a unit it leaves its configuration
files behind. This can become an issue if the subordinate is added back
to the unit as pointed out in #2004088.

This change adds a cleanup step to the `stop` hook so that those
configuration files are removed on the removal of the subordinate charm.

Closes-Bug: #2004088
Closes-Bug: #2004089
Change-Id: Icfca352f29e089aeccd1434d33a573ca1682339a
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2023-09-28 14:30:32 -06:00
..
__init__.py Use unittest.mock instead of mock 2021-12-15 11:56:31 +00:00
test_lib_charm_openstack_mysql_router.py Fix restarts during upgrade-charm hook 2022-07-19 10:13:27 -03:00
test_mysql_router_handlers.py Add cleanup of configuration files on `stop` 2023-09-28 14:30:32 -06:00