tobiko/pytest.ini
Slawek Kaplonski 3aa8b57abf Don't run some of the stateless SG tests in ovn migration workflow
This commit adds new pytest mark "skip_during_ovn_migration" to mark
some tests to be always skipped during migration from ML2/OVS to
ML2/OVN and marks as such tests from the
StatelessSecurityGroupInstanceTest class.

The reason why those tests shouldn't be run during the ovs to ovn
migration is that we are skipping them in ML2/OVS env so resources
required by those tests aren't created and later, when env is ML2/OVN
already we can't really verify them as we don't have required resources
created.

This patch modifies also ovn_migration tox env so it will run all
neutron scenario tests EXCEPT tests marked with this new pytest mark as
"skip_during_ovn_migration".

Change-Id: Iaa1e8b0d325ea690c6d6cb89e06006e7bbed9237
2023-04-27 16:30:57 +02:00

18 lines
544 B
INI

[pytest]
junit_family=legacy
render_collapsed = True
markers =
ovn_migration: test cases for testing OVN migration
minimal: most relevant and lightweight test cases
skip_during_ovn_migration: test cases which shouldn't be run in the OVS to OVN migration jobs
# rp_uuid = 887ab577-b89e-4b12-9d8f-03f7a0a5b14a
rp_endpoint = http://localhost:8080
rp_project = tobiko
rp_launch = tobiko
# rp_launch_attributes = 'PyTest' 'Smoke'
# rp_launch_description = 'Smoke test'
# rp_ignore_errors = True
# rp_ignore_attributes = 'xfail' 'usefixture'