Merge "Add a whitelist of tests passing on Python 3"
This commit is contained in:
commit
bfd5c71531
|
@ -153,7 +153,7 @@ class LeastPoolAgentScheduler(SchedulerBase):
|
|||
|
||||
def _schedule(self, candidates, plugin, context):
|
||||
"""Pick an agent with least number of pools from candidates"""
|
||||
current_min_pool_num = sys.maxint
|
||||
current_min_pool_num = sys.maxsize
|
||||
# SchedulerBase.schedule() already checks for empty candidates
|
||||
for tmp_agent in candidates:
|
||||
tmp_pool_num = plugin.num_of_pools_on_lbaas_agent(
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
neutron_lbaas.tests.unit.common.cert_manager.barbican_auth.test_barbican_acl
|
||||
neutron_lbaas.tests.unit.common.cert_manager.test_barbican
|
||||
neutron_lbaas.tests.unit.common.cert_manager.test_local
|
||||
neutron_lbaas.tests.unit.services.loadbalancer.test_agent_scheduler
|
||||
neutron_lbaas.tests.unit.services.loadbalancer.test_loadbalancer_plugin
|
3
tox.ini
3
tox.ini
|
@ -47,8 +47,7 @@ commands = {posargs}
|
|||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:py34]
|
||||
commands = python -m testtools.run \
|
||||
neutron_lbaas.tests.unit.common.cert_manager.test_barbican
|
||||
commands = ostestr --whitelist_file=tests-py3.txt
|
||||
|
||||
[flake8]
|
||||
# E125 continuation line does not distinguish itself from next logical line
|
||||
|
|
Loading…
Reference in New Issue