Define new functional test tox env for placement gate to run
We have placement-nova-tox-functional-py38 job defined and run on placement gate[1] to run the nova functional test excluding api and notification _sample_tests, and db-related tests but that job skip those tests via tox_extra_args which is not right way to do as we currently facing error when tox_extra_args is included in tox siblings task -c02c28a982
- https://zuul.openstack.org/build/a8c186b2c7124856ae32477f10e2b9a4 Let's define a new tox env which can exclude the required test in stestr command itself. [1]bd5b19c00e/.zuul.yaml (L83)
Change-Id: I20d6339a5203aed058f432f68e2ec1af57030401 (cherry picked from commit7b063e4d05
)
This commit is contained in:
parent
d4edcd62ba
commit
64f5c1cfb0
10
tox.ini
10
tox.ini
|
@ -116,6 +116,16 @@ deps = {[testenv:functional]deps}
|
|||
commands =
|
||||
{[testenv:functional]commands}
|
||||
|
||||
[testenv:functional-without-sample-db-tests]
|
||||
description =
|
||||
Run functional tests by excluding the API|Notification
|
||||
sample tests and DB tests. This env is used in
|
||||
placement-nova-tox-functional-py38 job which is defined and
|
||||
run in placement.
|
||||
deps = {[testenv:functional]deps}
|
||||
commands =
|
||||
stestr --test-path=./nova/tests/functional run --exclude-regex '((?:api|notification)_sample_tests|functional\.db\.)' {posargs}
|
||||
|
||||
[testenv:functional-py39]
|
||||
description =
|
||||
Run functional tests using python3.9.
|
||||
|
|
Loading…
Reference in New Issue