Merge "Run all scenario in parallel"
This commit is contained in:
commit
b8b6b051ff
23
.zuul.yaml
23
.zuul.yaml
@ -44,6 +44,19 @@
|
||||
devstack_localrc:
|
||||
ENABLE_FILE_INJECTION: true
|
||||
|
||||
- job:
|
||||
name: tempest-full-parallel
|
||||
parent: tempest-full
|
||||
voting: false
|
||||
branches:
|
||||
- master
|
||||
description: |
|
||||
Base integration test with Neutron networking and py27.
|
||||
It includes all scenarios as it was in the past.
|
||||
This job runs all scenario tests in parallel!
|
||||
vars:
|
||||
tox_envlist: full-parallel
|
||||
|
||||
- job:
|
||||
name: tempest-full-py3
|
||||
parent: devstack-tempest
|
||||
@ -175,6 +188,16 @@
|
||||
- ^roles/
|
||||
- ^.zuul.yaml$
|
||||
- nova-multiattach
|
||||
- tempest-full-parallel:
|
||||
irrelevant-files:
|
||||
- ^(test-|)requirements.txt$
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^etc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- ^setup.cfg$
|
||||
- ^tempest/hacking/.*$
|
||||
- ^tempest/tests/.*$
|
||||
- tempest-full-queens:
|
||||
irrelevant-files:
|
||||
- ^(test-|)requirements.txt$
|
||||
|
10
tox.ini
10
tox.ini
@ -83,6 +83,16 @@ commands =
|
||||
tempest run --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.api)' {posargs}
|
||||
tempest run --combine --serial --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)' {posargs}
|
||||
|
||||
[testenv:full-parallel]
|
||||
envdir = .tox/tempest
|
||||
sitepackages = {[tempestenv]sitepackages}
|
||||
setenv = {[tempestenv]setenv}
|
||||
deps = {[tempestenv]deps}
|
||||
# The regex below is used to select all tempest scenario and including the non slow api tests
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
tempest run --regex '(^tempest\.scenario.*)|(?!.*\[.*\bslow\b.*\])(^tempest\.api)' {posargs}
|
||||
|
||||
[testenv:full-serial]
|
||||
envdir = .tox/tempest
|
||||
sitepackages = {[tempestenv]sitepackages}
|
||||
|
Loading…
Reference in New Issue
Block a user