Merge "Revert "Evalute adding serial decorator to tests""

This commit is contained in:
Zuul 2024-06-11 15:53:17 +00:00 committed by Gerrit Code Review
commit a8986a86c0
2 changed files with 2 additions and 5 deletions

View File

@ -47,6 +47,7 @@
- ^test-requirements.txt$ - ^test-requirements.txt$
vars: vars:
tox_envlist: all tox_envlist: all
tempest_concurrency: 1
tempest_test_regex: ^whitebox_tempest_plugin\. tempest_test_regex: ^whitebox_tempest_plugin\.
# NOTE(jparker) in order for guest to boot via UEFI, the host will need the # NOTE(jparker) in order for guest to boot via UEFI, the host will need the
# open source implementation of UEFI for VMs via the OVMF package. In # open source implementation of UEFI for VMs via the OVMF package. In
@ -152,6 +153,7 @@
- ^whitebox_tempest_plugin/api/compute/(?!test_rbd_direct_download).*py$ - ^whitebox_tempest_plugin/api/compute/(?!test_rbd_direct_download).*py$
vars: vars:
tox_envlist: all tox_envlist: all
tempest_concurrency: 1
compute_node_template_name: whitebox-devstack-ceph-multinode.yaml.j2 compute_node_template_name: whitebox-devstack-ceph-multinode.yaml.j2
devstack_plugins: devstack_plugins:
whitebox-tempest-plugin: https://opendev.org/openstack/whitebox-tempest-plugin.git whitebox-tempest-plugin: https://opendev.org/openstack/whitebox-tempest-plugin.git

View File

@ -39,11 +39,6 @@ LOG = logging.getLogger(__name__)
class BaseWhiteboxComputeTest(base.BaseV2ComputeAdminTest): class BaseWhiteboxComputeTest(base.BaseV2ComputeAdminTest):
# Decorator support for serial does not land into tempest until 34.0.0.
# Explicitly setting _serial to True instead of using the decorator to
# avoid clashing with downstream execution.
_serial = True
def create_test_server(self, *args, **kwargs): def create_test_server(self, *args, **kwargs):
"""Whitebox is able to completely fill its compute hosts because it """Whitebox is able to completely fill its compute hosts because it
runs with things like PCI devices and dedicated CPUs. Because of that runs with things like PCI devices and dedicated CPUs. Because of that