Merge "Add Octavia faults workflow"

This commit is contained in:
Zuul 2021-09-29 15:45:44 +00:00 committed by Gerrit Code Review
commit bd59d1e84d
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,18 @@
---
test_workflow_steps:
- tox_description: 'create Octavia resources'
tox_envlist: octavia
tox_step_name: create_octavia_resources
tox_environment:
TOBIKO_PREVENT_CREATE: no
- tox_description: 'run Octavia disruptive test cases'
tox_envlist: octavia_faults
tox_step_name: octavia_faults
- tox_description: 'verify Octavia resources'
tox_envlist: octavia
tox_step_name: verify_octavia_resources
tox_environment:
TOBIKO_PREVENT_CREATE: yes

12
tox.ini
View File

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