From db94bfb6569960c158b36a73b2ef370811fa5767 Mon Sep 17 00:00:00 2001 From: James Parker Date: Tue, 10 May 2022 15:19:45 -0400 Subject: [PATCH] Remove skip checks around compute_api ext Tempest common has removed compute checks for service extension OS-FLV-EXT-DATA due to [1]. Removing impacted skipchecks from whitebox. [1] https://github.com/openstack/tempest/commit/618ff5f129c3417f12dc68aefe5c9fcf660bda65 Change-Id: If84147da4e2dc828a0c257a401d18c52c96205b8 --- .../api/compute/test_cpu_pinning.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/whitebox_tempest_plugin/api/compute/test_cpu_pinning.py b/whitebox_tempest_plugin/api/compute/test_cpu_pinning.py index ec696350..2141f47b 100644 --- a/whitebox_tempest_plugin/api/compute/test_cpu_pinning.py +++ b/whitebox_tempest_plugin/api/compute/test_cpu_pinning.py @@ -30,7 +30,6 @@ import xml.etree.ElementTree as ET from oslo_serialization import jsonutils from tempest.common import compute -from tempest.common import utils from tempest.common import waiters from tempest import config from tempest.exceptions import BuildErrorException @@ -127,13 +126,6 @@ class CPUPolicyTest(BasePinningTest): """Validate CPU policy support.""" vcpus = 2 - @classmethod - def skip_checks(cls): - super(CPUPolicyTest, cls).skip_checks() - if not utils.is_extension_enabled('OS-FLV-EXT-DATA', 'compute'): - msg = "OS-FLV-EXT-DATA extension not enabled." - raise cls.skipException(msg) - def test_cpu_shared(self): """Ensure an instance with an explicit 'shared' policy work.""" flavor = self.create_flavor(vcpus=self.vcpus, @@ -393,9 +385,6 @@ class EmulatorThreadTest(BasePinningTest, numa_helper.NUMAHelperMixin): @classmethod def skip_checks(cls): super(EmulatorThreadTest, cls).skip_checks() - if not utils.is_extension_enabled('OS-FLV-EXT-DATA', 'compute'): - msg = "OS-FLV-EXT-DATA extension not enabled." - raise cls.skipException(msg) if getattr(CONF.whitebox_hardware, 'cpu_topology', None) is None: msg = "cpu_topology in whitebox-hardware is not present" raise cls.skipException(msg)