Add Octavia faults workflow
So far Octavia didn't have a workflow which contained both scenario and faults tests, which made it difficult to test octavia fault tests on CI. This test adds such a workflow named as faults-octavia. Change-Id: I60ac1c2952e4247b10f0f903676cd31c004e4150
This commit is contained in:
parent
72407ca361
commit
221d90a5e3
18
roles/tobiko-run/vars/test-workflow-octavia-faults.yaml
Normal file
18
roles/tobiko-run/vars/test-workflow-octavia-faults.yaml
Normal 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
12
tox.ini
@ -226,6 +226,18 @@ setenv =
|
|||||||
PYTEST_TIMEOUT = 3600
|
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]
|
[testenv:instanceha]
|
||||||
|
|
||||||
basepython = {[integration]basepython}
|
basepython = {[integration]basepython}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user