summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorGhanshyam Mann <gmann@ghanshyammann.com>2023-02-10 18:22:02 -0600
committerGhanshyam <gmann@ghanshyammann.com>2023-02-11 19:05:19 +0000
commit6bb98c2aa478f7ad32838fec4b59c4acb73ccf21 (patch)
treed9c8d097ed4869300fd21fa8c9b6911a676e58b6 /tox.ini
parenta9bad0051255327e0a0456a0d46c34f1a6ed4c79 (diff)
downloadtempest-6bb98c2aa478f7ad32838fec4b59c4acb73ccf21.tar.gz
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini12
1 files changed, 12 insertions, 0 deletions
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}