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:
Omer 2021-09-24 14:54:22 +02:00 committed by Federico Ressi
parent 72407ca361
commit 221d90a5e3
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}