Skip tests from RebootNodesTest on non TripleO based cloud

Those tests are designed to be run on TripleO based cloud as
requires undercloud node and overcloud nodes.
So lets skip them in e.g. devstack based deployments to make
job in overall to be green.

It also renames this test class to be "RebootTripleoNodesTest"
to better express what are those tests doing.

Change-Id: I0a4e710a14648248c53ba357a6a461bf8da2853f
This commit is contained in:
Slawek Kaplonski 2020-03-15 00:53:36 +01:00
parent cd76eac859
commit 5895ff4e67

View File

@ -11,6 +11,7 @@ from tobiko.tripleo import processes
from tobiko.tripleo import containers from tobiko.tripleo import containers
from tobiko.tripleo import nova from tobiko.tripleo import nova
from tobiko.tripleo import neutron from tobiko.tripleo import neutron
from tobiko.tripleo import undercloud
from tobiko.openstack import stacks from tobiko.openstack import stacks
import tobiko import tobiko
@ -56,7 +57,8 @@ def check_overcloud_processes_health():
).basic_overcloud_processes_running ).basic_overcloud_processes_running
class RebootNodesTest(testtools.TestCase): @undercloud.skip_if_missing_undercloud
class RebootTripleoNodesTest(testtools.TestCase):
""" HA Tests: run health check -> disruptive action -> health check """ HA Tests: run health check -> disruptive action -> health check
disruptive_action: a function that runs some disruptive_action: a function that runs some