Merge "Run test_port_security_macspoofing_port slow tests serially"
This commit is contained in:
commit
e13e4da77f
9
tox.ini
9
tox.ini
|
@ -328,10 +328,15 @@ basepython = {[tempestenv]basepython}
|
||||||
setenv = {[tempestenv]setenv}
|
setenv = {[tempestenv]setenv}
|
||||||
deps = {[tempestenv]deps}
|
deps = {[tempestenv]deps}
|
||||||
# The regex below is used to select the slow tagged tests:
|
# 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 =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
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]
|
[testenv:multinode]
|
||||||
envdir = .tox/tempest
|
envdir = .tox/tempest
|
||||||
|
|
Loading…
Reference in New Issue