From 264134b6bf8fcd1f08c893e35556f67719f34384 Mon Sep 17 00:00:00 2001 From: Myles Penner <96148570+MylesJP@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:00:15 -0700 Subject: [PATCH] Add tempest tests for masakari-k8s --- zaza/openstack/charm_tests/masakari/tests.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zaza/openstack/charm_tests/masakari/tests.py b/zaza/openstack/charm_tests/masakari/tests.py index 1170e9c3c..7b6608f9d 100644 --- a/zaza/openstack/charm_tests/masakari/tests.py +++ b/zaza/openstack/charm_tests/masakari/tests.py @@ -24,6 +24,7 @@ import novaclient import zaza.model +import zaza.openstack.charm_tests.tempest.tests as tempest_tests import zaza.openstack.charm_tests.test_utils as test_utils import zaza.openstack.utilities.juju as juju_utils import zaza.openstack.utilities.openstack as openstack_utils @@ -228,3 +229,9 @@ def test_instance_restart_on_fail(self): logging.info('{} pid is now {}'.format(vm_name, new_guest_pid)) assert new_guest_pid and new_guest_pid != guest_pid, ( "Restart failed or never happened") + + +class MasakariTempestTestK8S(tempest_tests.TempestTestScaleK8SBase): + """Test masakari-k8s scale out and scale back.""" + + application_name = "masakari"