Skip BackgroundProcessTest tests when ha_faults are executed

When ha_faults tests are executed, overcloud nodes are rebooted,
affecting those tests that run background processes on VM instances or
against VM instances.
The goal of those tests is to run on other scopes, such as upgrades, ovs
to ovn migration, etc.

Change-Id: Ie31f9409a4fb5e8bc86991cf4511e155f5b80d71
This commit is contained in:
Eduardo Olivares 2025-03-20 13:11:41 +01:00
parent 05523dbc45
commit 8baaacbf44
4 changed files with 7 additions and 0 deletions

@ -22,3 +22,4 @@ test_workflow_steps:
tox_step_name: verify_resources
tox_environment:
TOBIKO_PREVENT_CREATE: yes
pytest_addopts: "--skipregex='BackgroundProcessTest'"

@ -12,6 +12,7 @@ test_workflow_steps:
tox_step_name: create_neutron_resources
tox_environment:
TOBIKO_PREVENT_CREATE: no
pytest_addopts: "--skipregex='BackgroundProcessTest'"
- tox_description: 'run disruptive test cases (neutron)'
tox_envlist: neutron_faults
@ -34,3 +35,4 @@ test_workflow_steps:
tox_step_name: verify_neutron_resources
tox_environment:
TOBIKO_PREVENT_CREATE: yes
pytest_addopts: "--skipregex='BackgroundProcessTest'"

@ -12,6 +12,7 @@ test_workflow_steps:
tox_step_name: create_resources
tox_environment:
TOBIKO_PREVENT_CREATE: no
pytest_addopts: "--skipregex='BackgroundProcessTest'"
- tox_description: 'run disruptive test cases'
tox_envlist: faults
@ -31,3 +32,4 @@ test_workflow_steps:
tox_step_name: verify_resources
tox_environment:
TOBIKO_PREVENT_CREATE: yes
pytest_addopts: "--skipregex='BackgroundProcessTest'"

@ -7,6 +7,7 @@ test_workflow_steps:
tox_environment:
TOBIKO_PREVENT_CREATE: no
test_flaky: true
pytest_addopts: "--skipregex='BackgroundProcessTest'"
- tox_description: 'run sanity test cases before disruptive test cases'
tox_envlist: sanity
@ -35,3 +36,4 @@ test_workflow_steps:
tox_environment:
TOBIKO_PREVENT_CREATE: yes
test_flaky: true
pytest_addopts: "--skipregex='BackgroundProcessTest'"