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:
parent
0962d8e266
commit
b5b86ee56b
@ -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):
|
||||
|
||||
|
4
tox.ini
4
tox.ini
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user