summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2013-12-04 11:32:53 -0500
committerRyan Petrello <lists@ryanpetrello.com>2013-12-04 13:27:08 -0500
commit4d372ecc8704af9353ca506aac96529fedd4f696 (patch)
treeec04647d65f356b5d79dcc8e375eaedc45d6faa3
parent78045ead82699d124bb50afe942de2884fa2bff7 (diff)
downloadpecan-4d372ecc8704af9353ca506aac96529fedd4f696.tar.gz
Run ceilometer tests against py26, not py27.
Ceilometer gating tests require mongodb, which only run successfully on OpenStack CI's CentOS 6 machines (which are running Python 2.6). Change-Id: If302b1cfb22a241a1ec32396235b1353c99078ed
-rw-r--r--tox.ini18
1 files changed, 16 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 946f919..e2af720 100644
--- a/tox.ini
+++ b/tox.ini
@@ -71,17 +71,31 @@ changedir = {envdir}/src/wsme
commands = nosetests -v tests/pecantest
[testenv:ceilometer-stable]
-basepython = python2.7
+basepython = python2.6
deps = -egit+http://git.openstack.org/cgit/openstack/ceilometer@stable/havana#egg=ceilometer
changedir = {envdir}/src/ceilometer
+usedevelop = True
+setenv = VIRTUAL_ENV={envdir}
+ LANG=en_US.UTF-8
+ LANGUAGE=en_US:en
+ LC_ALL=C
+ EVENTLET_NO_GREENDNS=yes
+install_command = pip install -U {opts} {packages}
commands = pip install -vrrequirements.txt
pip install -vrtest-requirements.txt
bash -x run-tests.sh {posargs}
[testenv:ceilometer-tip]
-basepython = python2.7
+basepython = python2.6
deps = -egit+http://git.openstack.org/cgit/openstack/ceilometer#egg=ceilometer
changedir = {envdir}/src/ceilometer
+usedevelop = True
+setenv = VIRTUAL_ENV={envdir}
+ LANG=en_US.UTF-8
+ LANGUAGE=en_US:en
+ LC_ALL=C
+ EVENTLET_NO_GREENDNS=yes
+install_command = pip install -U {opts} {packages}
commands = pip install -vrrequirements.txt
pip install -vrtest-requirements.txt
bash -x run-tests.sh {posargs}