Merge "Unit tests: Isolate mysql test migrations"
This commit is contained in:
commit
6233276b20
7
tox.ini
7
tox.ini
@ -22,7 +22,7 @@ deps =
|
|||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
stestr run --slowest --parallel-class {posargs}
|
stestr run --slowest --parallel-class --exclude-regex TestMigrationsMySQL {posargs}
|
||||||
passenv = http_proxy
|
passenv = http_proxy
|
||||||
HTTP_PROXY
|
HTTP_PROXY
|
||||||
https_proxy
|
https_proxy
|
||||||
@ -84,6 +84,11 @@ envdir = {toxworkdir}/venv
|
|||||||
commands =
|
commands =
|
||||||
oslopolicy-sample-generator --config-file=tools/policy/ironic-policy-generator.conf
|
oslopolicy-sample-generator --config-file=tools/policy/ironic-policy-generator.conf
|
||||||
|
|
||||||
|
[testenv:mysql-migrations]
|
||||||
|
sitepackages = False
|
||||||
|
commands =
|
||||||
|
stestr run --slowest --parallel-class TestMigrationsMySQL {posargs}
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
commands = oslo_debug_helper -t ironic/tests/unit {posargs}
|
commands = oslo_debug_helper -t ironic/tests/unit {posargs}
|
||||||
|
|
||||||
|
@ -688,6 +688,14 @@
|
|||||||
vars:
|
vars:
|
||||||
tox_envlist: unit-with-driver-libs
|
tox_envlist: unit-with-driver-libs
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: ironic-tox-unit-mysql-migrations
|
||||||
|
parent: openstack-tox
|
||||||
|
description: |
|
||||||
|
Run MySQL based data model migrations separate to isolate failures.
|
||||||
|
vars:
|
||||||
|
tox_envlist: mysql-migrations
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: ironic-inspector-tempest-discovery-fast-track
|
name: ironic-inspector-tempest-discovery-fast-track
|
||||||
description: ironic-inspector-tempest-discovery-fast-track
|
description: ironic-inspector-tempest-discovery-fast-track
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
- release-notes-jobs-python3
|
- release-notes-jobs-python3
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
|
- ironic-tox-unit-mysql-migrations
|
||||||
- ironic-tox-unit-with-driver-libs
|
- ironic-tox-unit-with-driver-libs
|
||||||
- ironic-cross-sushy:
|
- ironic-cross-sushy:
|
||||||
voting: false
|
voting: false
|
||||||
@ -65,6 +66,7 @@
|
|||||||
voting: false
|
voting: false
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
|
- ironic-tox-unit-mysql-migrations
|
||||||
- ironic-tox-unit-with-driver-libs
|
- ironic-tox-unit-with-driver-libs
|
||||||
- ironic-tempest-functional-python3
|
- ironic-tempest-functional-python3
|
||||||
# NOTE(rpittau) disabled until we fix the tests
|
# NOTE(rpittau) disabled until we fix the tests
|
||||||
|
Loading…
Reference in New Issue
Block a user