Add new tox env and workflow for ovn_migration sanity tests
This patch adds new tox env "ovn_migration_sanity" which runs only tests marked as "ovn_migration" and explicitly skip all tests marked as "skip_during_ovn_migration". This patch additionally modifies check-resources-ovn-migration workflow so it will now first check resources after migration (run "ovn_migration" tox env) and next run ovn_migration sanity tests too. Change-Id: Ib50bfb0c294ee305fa7bee53c048939479e2e436
This commit is contained in:
parent
3aa8b57abf
commit
d5bc5c7617
@ -6,3 +6,8 @@ test_workflow_steps:
|
||||
tox_step_name: verify_resources
|
||||
tox_environment:
|
||||
TOBIKO_PREVENT_CREATE: yes
|
||||
- tox_description: 'run sanity tests related to ML2OVS to ML2OVN migration'
|
||||
tox_envlist: ovn_migration_sanity
|
||||
tox_step_name: sanity
|
||||
tox_environment:
|
||||
TOBIKO_PREVENT_CREATE: yes
|
||||
|
10
tox.ini
10
tox.ini
@ -252,6 +252,16 @@ setenv =
|
||||
OS_TEST_PATH = {toxinidir}/tobiko/tests/sanity/neutron
|
||||
|
||||
|
||||
[testenv:ovn_migration_sanity]
|
||||
|
||||
basepython = {[integration]basepython}
|
||||
envdir = {[integration]envdir}
|
||||
passenv = {[integration]passenv}
|
||||
setenv =
|
||||
{[testenv:sanity]setenv}
|
||||
RUN_TESTS_EXTRA_ARGS = -m "ovn_migration and not skip_during_ovn_migration" {env:OS_TEST_PATH}
|
||||
|
||||
|
||||
[testenv:shiftstack_sanity]
|
||||
|
||||
basepython = {[integration]basepython}
|
||||
|
Loading…
Reference in New Issue
Block a user