Skip the manual cleaning test if software RAID testing is enabled

Software RAID testing covers manual cleaning, so there is no point in
having a separate test for it running at the same time.

Change-Id: I4115f9ee6490a3f7e7f2e6c7b5d37ab582e6153f
This commit is contained in:
Dmitry Tantsur 2019-09-10 08:51:38 +02:00
parent 65abacac95
commit 6ae782b1c1
1 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,12 @@ class BaremetalCleaningIpmiWholedisk(
deploy_interface = 'iscsi'
api_microversion = '1.31'
@classmethod
def skip_checks(cls):
super(BaremetalCleaningIpmiWholedisk, cls).skip_checks()
if CONF.baremetal_feature_enabled.software_raid:
raise cls.skipException("Cleaning is covered in the RAID test")
@decorators.idempotent_id('065238db-1b6d-4d75-a9da-c240f8cbd956')
@utils.services('image', 'network')
def test_manual_cleaning(self):