From 4f9d735923ad34ae845d4f15b196e8ac5c9d9f7c Mon Sep 17 00:00:00 2001 From: melanie witt Date: Fri, 7 Jun 2024 20:32:01 +0000 Subject: [PATCH] Use 'tempest run --slowest' in integrated-compute (again) Change I53b0fa6dcf077191565e2aaf3f08a24b3238a34b added the --slowest option to the tempest run command for scenario and serial tests but missed adding it when running api tests. The --slowest option will show a list of the slowest tests after the tests finish running. Change-Id: Ia5a995121748a2c244f060e6ce4b395213bb196e --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fcdf6ff0b9..e3c8fcfd48 100644 --- a/tox.ini +++ b/tox.ini @@ -197,7 +197,7 @@ regex2 = '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)|(^tempest\.serial_tests)' # tests listed in exclude-list file: commands = find . -type f -name "*.pyc" -delete - tempest run --regex {[testenv:integrated-compute]regex1} --exclude-list ./tools/tempest-integrated-gate-compute-exclude-list.txt {posargs} + tempest run --slowest --regex {[testenv:integrated-compute]regex1} --exclude-list ./tools/tempest-integrated-gate-compute-exclude-list.txt {posargs} tempest run --combine --serial --slowest --regex {[testenv:integrated-compute]regex2} --exclude-list ./tools/tempest-integrated-gate-compute-exclude-list.txt {posargs} [testenv:integrated-placement]