sunbeam-charms/ops-sunbeam/tests/unit_tests
Hemanth Nakkina 721a454853 stop services when mandatory integrations are removed
Stop all the services running in the container
when mandatory integrations are removed.
Currently the relation data is not cleared during
processing of gone away events. This is a bug in
juju reported at [1]. Due to this the relation is
still considered as ready.
Add workaround to check the event and mark the
relation to not ready if the event is gone away
event of the relation.
Catch database relation-broken event and block the
application.

[1] https://bugs.launchpad.net/juju/+bug/2024583

Change-Id: I80a0120d08b79561c13996c7a0f055824a1d5336
2023-11-01 17:45:31 +05:30
..
__init__.py Add ops.scenario tests 2023-09-19 06:35:29 +00:00
test_charms.py Add ops.scenario tests 2023-09-19 06:35:29 +00:00
test_compound_status.py Add ops.scenario tests 2023-09-19 06:35:29 +00:00
test_core.py stop services when mandatory integrations are removed 2023-11-01 17:45:31 +05:30
test_job_ctrl.py Add ops.scenario tests 2023-09-19 06:35:29 +00:00
test_templating.py Add ops.scenario tests 2023-09-19 06:35:29 +00:00