[RAFT] skip test_ovn_dbs_validations when RAFT is configured

Code from test_ovn_dbs_validations are currently not valid when RAFT is
not configured - these validations are skipped in that case, until they
are adapted to RAFT

Change-Id: If0600f558cdb4a9b6bdb31bf4b97b05f0de403b6
This commit is contained in:
Eduardo Olivares 2022-08-11 13:54:42 +02:00
parent b2ba436262
commit 97c7950edb
1 changed files with 5 additions and 1 deletions

View File

@ -29,6 +29,7 @@ from tobiko.tripleo import pacemaker
from tobiko.tripleo import processes
from tobiko.tripleo import containers
from tobiko.tripleo import nova
from tobiko.tripleo import overcloud
from tobiko.tripleo import undercloud
from tobiko.tripleo import validations
@ -52,7 +53,10 @@ def overcloud_health_checks(passive_checks_only=False,
containers.assert_all_tripleo_containers_running()
containers.assert_equal_containers_state()
containers.run_container_config_validations()
tests.test_ovn_dbs_validations()
if not overcloud.is_ovn_using_raft():
# TODO(eolivare): test_ovn_dbs_validations() needs to be adapted to
# RAFT setups - until then, this validation is skipped for RAFT
tests.test_ovn_dbs_validations()
# skip_mac_table_size_test has to be removed when BZ1695122 is resolved
# we need it for the moment because this validation should not be performed
# after any overcloud node is rebooted