Fix the python34 check job
Add py34 test environment to tox.ini: * Create a whitelist of tests which pass on Python 3: tests-py3.txt * Run tests on Python 3 using ostestr and the blacklist With this change, it becomes possible to make the python34 check job voting to avoid regressions. Change-Id: I06bbad4cfb26a9f9dcc0d924f4d9a85a557ba5ea Partially-Implements: blueprint designate-py3
This commit is contained in:
parent
320dec24f5
commit
1d9f44143e
21
tests-py3.txt
Normal file
21
tests-py3.txt
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Blacklist of tests failing on Python 3
|
||||||
|
designate.tests.test_agent.test_service
|
||||||
|
designate.tests.test_api.test_v1.test_records
|
||||||
|
designate.tests.test_api.test_v2.test_floatingips
|
||||||
|
designate.tests.test_api.test_v2.test_recordsets
|
||||||
|
designate.tests.test_api.test_v2.test_zones
|
||||||
|
designate.tests.test_backend.test_nsd4
|
||||||
|
designate.tests.test_central.test_service
|
||||||
|
designate.tests.test_dnsutils
|
||||||
|
designate.tests.test_mdns.test_handler
|
||||||
|
designate.tests.test_notification_handler.test_neutron
|
||||||
|
designate.tests.test_notification_handler.test_nova
|
||||||
|
designate.tests.test_pool_manager.test_service
|
||||||
|
designate.tests.test_storage.test_sqlalchemy
|
||||||
|
designate.tests.test_utils
|
||||||
|
designate.tests.unit.test_api.test_api_v2
|
||||||
|
designate.tests.unit.test_backend.test_designate
|
||||||
|
designate.tests.unit.test_central.test_basic
|
||||||
|
designate.tests.unit.test_pool
|
||||||
|
designate.tests.unit.test_zone_manager.test_tasks
|
||||||
|
|
6
tox.ini
6
tox.ini
@ -1,6 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
envlist = py27,flake8
|
envlist = py34,py27,flake8
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -18,6 +18,10 @@ commands =
|
|||||||
sh tools/pretty_tox.sh '{posargs}'
|
sh tools/pretty_tox.sh '{posargs}'
|
||||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
|
|
||||||
|
[testenv:py34]
|
||||||
|
commands =
|
||||||
|
ostestr --blacklist_file=tests-py3.txt
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = python setup.py build_sphinx -E
|
commands = python setup.py build_sphinx -E
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user