Skip to content

Commit

Permalink
Merge "Run test_port_security_macspoofing_port slow tests serially"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jul 21, 2023
2 parents 98d402f + 33e4e24 commit e13e4da
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tox.ini
Expand Up @@ -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
Expand Down

0 comments on commit e13e4da

Please sign in to comment.