Merge "Ensure we create nodes with valid CPU archs"

This commit is contained in:
Zuul 2018-07-09 16:46:11 +00:00 committed by Gerrit Code Review
commit a02496862f
2 changed files with 3 additions and 3 deletions

View File

@ -162,12 +162,12 @@ class BaseBaremetalTest(api_version_utils.BaseMicroversionTest,
@classmethod
@creates('node')
def create_node(cls, chassis_id, cpu_arch='x86', cpus=8, local_gb=10,
def create_node(cls, chassis_id, cpu_arch='x86_64', cpus=8, local_gb=10,
memory_mb=4096, resource_class=None):
"""Wrapper utility for creating test baremetal nodes.
:param chassis_id: The unique identifier of the chassis.
:param cpu_arch: CPU architecture of the node. Default: x86.
:param cpu_arch: CPU architecture of the node. Default: x86_64.
:param cpus: Number of CPUs. Default: 8.
:param local_gb: Disk size. Default: 10.
:param memory_mb: Available RAM. Default: 4096.

View File

@ -111,7 +111,7 @@ class TestNodes(base.BaseBaremetalTest):
_, node = self.create_node(self.chassis['uuid'], **props)
new_p = {'cpu_arch': 'x86',
new_p = {'cpu_arch': 'arm64',
'cpus': '1',
'local_gb': '10000',
'memory_mb': '12300'}