Skip some more tests related to ovn-migration

Added option to skip flaky tests during ovn-migration testenvs.
Added decorator to StatelessSecurityGroupTest in order to skip these
tests during ovn-migration too.

Change-Id: I2d30df19dc3e7102b430254db1585e6df33702df
This commit is contained in:
Eduardo Olivares 2023-05-08 12:15:35 +02:00
parent 0962d8e266
commit b5b86ee56b
2 changed files with 3 additions and 2 deletions

View File

@ -123,6 +123,7 @@ class BaseSecurityGroupTest(testtools.TestCase):
self._check_sg_rule_in_ovn_nb_db(sg_rule_id, expected_action)
@pytest.mark.skip_during_ovn_migration
@neutron.skip_if_missing_networking_extensions('stateful-security-group')
class StatelessSecurityGroupTest(BaseSecurityGroupTest):

View File

@ -220,7 +220,7 @@ passenv = {[integration]passenv}
setenv =
{[testenv:scenario]setenv}
OS_TEST_PATH = {toxinidir}/tobiko/tests/scenario
RUN_TESTS_EXTRA_ARGS = -m "not skip_during_ovn_migration" {env:OS_TEST_PATH}
RUN_TESTS_EXTRA_ARGS = -m "not skip_during_ovn_migration and not flaky" {env:OS_TEST_PATH}
[testenv:nova]
@ -259,7 +259,7 @@ 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}
RUN_TESTS_EXTRA_ARGS = -m "ovn_migration and not skip_during_ovn_migration and not flaky" {env:OS_TEST_PATH}
[testenv:shiftstack_sanity]