Merge "Run test_port_security_macspoofing_port slow tests serially"

This commit is contained in:
Zuul 2023-07-21 12:11:09 +00:00 committed by Gerrit Code Review
commit e13e4da77f
1 changed files with 7 additions and 2 deletions

View File

@ -328,10 +328,15 @@ basepython = {[tempestenv]basepython}
setenv = {[tempestenv]setenv}
deps = {[tempestenv]deps}
# The regex below is used to select the slow tagged tests:
regex = '\[.*\bslow\b.*\]'
regex1 = '(.*\[.*\bslow\b.*\])'
regex2 = 'test_port_security_macspoofing_port'
# The regex below is used to run slow test in parallel except
# test_port_security_macspoofing_port which fail many times
# while running in parallel
commands =
find . -type f -name "*.pyc" -delete
tempest run --regex {[testenv:slow]regex} {posargs}
tempest run --regex {[testenv:slow]regex1} --exclude-regex {[testenv:slow]regex2} {posargs}
tempest run --combine --serial --regex {[testenv:slow]regex2} {posargs}
[testenv:multinode]
envdir = .tox/tempest