Files
tobiko/roles/tobiko-run/vars/test-workflow-faults-neutron.yaml
Eduardo Olivares 3bcce0d058 Faults workflows run sanity tests only once before disruptions
Some test workflows executed sanity tests twice before disruptions:
first, before create resources; second, after create resources

Only one execution of sanity tests is necessary before disruptive tests
run

Change-Id: Ic8e3c89ee78d1e854351566aaec7c5d4e70278a8
2022-12-12 12:39:48 +00:00

37 lines
1.0 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
- 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