HA tests included in the faults-neutron workflow

The faults-neutron will include the HA faults tests, which covers some
important networking HA scenarios

Change-Id: I92a623e295aa2bdb718eedbc53fae8b92c75727b
This commit is contained in:
Eduardo Olivares 2022-02-10 11:00:16 +01:00
parent d2574ba6c6
commit 05bc405446
2 changed files with 18 additions and 1 deletions

View File

@ -19,11 +19,16 @@ test_workflow_steps:
tox_environment:
TOBIKO_PREVENT_CREATE: no
- tox_description: 'run disruptive test cases'
- 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

12
tox.ini
View File

@ -274,6 +274,18 @@ setenv =
OS_TEST_PATH = {toxinidir}/tobiko/tests/faults/neutron
[testenv:ha_faults]
basepython = {[integration]basepython}
envdir = {[integration]envdir}
passenv = {[integration]passenv}
setenv =
{[integration]setenv}
OS_TEST_PATH = {toxinidir}/tobiko/tests/faults/ha
TOX_NUM_PROCESSES = 1
PYTEST_TIMEOUT = 3600
[testenv:instanceha]
basepython = {[integration]basepython}