Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tempest tests for masakari-k8s #1271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions zaza/openstack/charm_tests/masakari/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Loading