Disable CPU power management
Until we fix the bugs, disable it to get clean runs, and fix our tests to correctly skip if the feature is not available. Change-Id: Ic6ed360ee18e5b000c2305c65e1fb5595a95f196
This commit is contained in:
parent
a464d48e5e
commit
36d5633f67
@ -75,7 +75,6 @@
|
||||
compute-feature-enabled:
|
||||
volume_backed_live_migration: true
|
||||
stable_compute_uuid_supported: true
|
||||
cpu_power_management: true
|
||||
auth:
|
||||
tempest_roles: creator
|
||||
post-config:
|
||||
@ -90,7 +89,6 @@
|
||||
cpu_mode: custom
|
||||
cpu_models: Nehalem
|
||||
cpu_model_extra_flags: vme,+ssse3,-mmx
|
||||
cpu_power_management: True
|
||||
virt_type: kvm
|
||||
rx_queue_size: 1024
|
||||
swtpm_enabled: True
|
||||
@ -118,7 +116,6 @@
|
||||
cpu_mode: custom
|
||||
cpu_models: Nehalem
|
||||
cpu_model_extra_flags: vme,+ssse3,-mmx
|
||||
cpu_power_management: True
|
||||
virt_type: kvm
|
||||
rx_queue_size: 1024
|
||||
swtpm_enabled: True
|
||||
|
@ -14,11 +14,16 @@
|
||||
# under the License.
|
||||
|
||||
from tempest.common import waiters
|
||||
from tempest import config
|
||||
|
||||
from whitebox_tempest_plugin.api.compute import base
|
||||
from whitebox_tempest_plugin import hardware
|
||||
from whitebox_tempest_plugin.services import clients
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class TestCPUStateMgmt(base.BaseWhiteboxComputeTest):
|
||||
"""Test Nova's CPU state management feature, ensuring that CPUs are
|
||||
onlined and offlined at the expected times.
|
||||
@ -28,6 +33,9 @@ class TestCPUStateMgmt(base.BaseWhiteboxComputeTest):
|
||||
@classmethod
|
||||
def skip_checks(cls):
|
||||
super(TestCPUStateMgmt, cls).skip_checks()
|
||||
if not CONF.compute_feature_enabled.cpu_power_management:
|
||||
raise cls.skipException(
|
||||
'Libvirt CPU power is unavailable, skipping.')
|
||||
|
||||
def setUp(self):
|
||||
super(TestCPUStateMgmt, self).setUp()
|
||||
|
Loading…
x
Reference in New Issue
Block a user