From 6bb98c2aa478f7ad32838fec4b59c4acb73ccf21 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Fri, 10 Feb 2023 18:22:02 -0600 Subject: Prepare tempest-slow-parallel job and run periodically tempest-slow-py3 job run all the slow test serially which takes lot of time and end up job timeout. This preparing tempest-slow-parallel job which will run slow tests parallelly in periodic run. Based on the results, later we can make tempest-slow-py3 job to run tests in parallel. Also, run tempest-full-parallel in periodic and based on the result we can run tempest-full-py3 job scenario tests in parallel. Relavant-Bug: #2004780 Change-Id: I876dacb40daa384cddc8faae3200cd3d39506ddc --- tox.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index e1c17df21..d5b41afbf 100644 --- a/tox.ini +++ b/tox.ini @@ -289,6 +289,18 @@ commands = find . -type f -name "*.pyc" -delete tempest run --serial --regex {[testenv:slow-serial]regex} {posargs} +[testenv:slow] +envdir = .tox/tempest +sitepackages = {[tempestenv]sitepackages} +basepython = {[tempestenv]basepython} +setenv = {[tempestenv]setenv} +deps = {[tempestenv]deps} +# The regex below is used to select the slow tagged tests: +regex = '\[.*\bslow\b.*\]' +commands = + find . -type f -name "*.pyc" -delete + tempest run --regex {[testenv:slow]regex} {posargs} + [testenv:ipv6-only] envdir = .tox/tempest sitepackages = {[tempestenv]sitepackages} -- cgit v1.2.1