Execute py35 functional tests under py35 environment
Recently merged patch [1] causes py35 functional tests under py27 environment. As a result py35 functional tests also hangs (refer bug [2]). The reason for this is in patch [1] intended to use already created environment using 'envdir' variable but somehow it uses py27 environment instead of py35 environment. Removed 'envdir' from functional and functional-py35 section so that it can creates its own environment for execution. [1] https://review.openstack.org/#/c/474816/ [2] https://bugs.launchpad.net/glance/+bug/1744824 Change-Id: I405b3718358b9977384696c8f004ffb2cf922ef5
This commit is contained in:
parent
6cdad5e1a5
commit
64eda44029
4
tox.ini
4
tox.ini
@ -36,16 +36,12 @@ basepython = python3.5
|
||||
commands = ostestr --slowest {posargs}
|
||||
|
||||
[testenv:functional]
|
||||
# Reuse same venv as unit tests
|
||||
envdir = {toxworkdir}/py27
|
||||
setenv =
|
||||
TEST_PATH = ./glance/tests/functional
|
||||
commands =
|
||||
ostestr {posargs}
|
||||
|
||||
[testenv:functional-py35]
|
||||
# Reuse same venv as unit tests
|
||||
envdir = {toxworkdir}/py35
|
||||
basepython = python3.5
|
||||
setenv =
|
||||
TEST_PATH = ./glance/tests/functional
|
||||
|
Loading…
Reference in New Issue
Block a user