]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
py34: don't run any tests except unit tests
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 28 May 2015 12:40:25 +0000 (14:40 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Thu, 28 May 2015 12:52:55 +0000 (14:52 +0200)
py34 job was intended for unit tests only. It's important to distinguish
between different types of tests, because they all have different
requirements to execution environment. E.g. functional tests are not
expected to run in a restricted env designed for unit tests, and that's
even more valid for fullstack tests.

Otherwise, the job may fail or apply irrecoverable changes to test
runner system, breaking the system.

If we ever want to support py3 for other types of tests, we should add
separate jobs just for that.

Note that the neutron-python3 blueprint was not intended to introduce
changes to support anything but unit test execution with the new Python
version, so strictly speaking, any effort to make other test types work
is out of scope.

Change-Id: Ia96f03f05269c1938b51ee26f4b4075b69967bb8

tox.ini

diff --git a/tox.ini b/tox.ini
index 8a1c5d76cf7649cdcd0deb201c52f5c9d4f7cf34..1c8761c7051788b386d25e728ec478f1154b3cdb 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -98,7 +98,6 @@ commands = sphinx-build -W -b html doc/source doc/build
 
 [testenv:py34]
 commands = python -m testtools.run \
-    neutron.tests.fullstack.test_l3_agent \
     neutron.tests.unit.common.test_rpc
 
 [flake8]