tobiko/roles/tobiko-run/vars/test-workflow-faults-neutron.yaml
Eduardo Olivares 8baaacbf44 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
2025-03-20 21:42:48 +00:00

39 lines
1.1 KiB
YAML

---
test_workflow_steps:
- tox_description: 'run sanity test cases before creating resources'
tox_envlist: neutron_sanity
tox_step_name: before
tox_environment:
TOBIKO_PREVENT_CREATE: no
- tox_description: 'create Neutron resources'
tox_envlist: neutron
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
tox_step_name: neutron_faults
pytest_maxfail: 1
- tox_description: 'run disruptive test cases (high availability)'
tox_envlist: ha_faults
tox_step_name: ha_faults
pytest_maxfail: 1
- tox_description: 'run sanity test cases after disruptive tests'
tox_envlist: neutron_sanity
tox_step_name: after
tox_environment:
TOBIKO_PREVENT_CREATE: no
- tox_description: 'verify Neutron resources'
tox_envlist: neutron
tox_step_name: verify_neutron_resources
tox_environment:
TOBIKO_PREVENT_CREATE: yes
pytest_addopts: "--skipregex='BackgroundProcessTest'"