Skip to content

Commit fc1808b

Browse files
jogocboylan
authored andcommitted
Add special serial smoke option
We want smoketests to be parallel by default (for grenade etc), but that won't work for neutron, so add a special case. Since we don't want to break anything making this switch, it has to be done in 3 steps: 1) this patch 2) make neutron use smoke-serial 3) change smoke to be parallel Note this is a backport to grizzly so the parallel options are not being added, we are just maintaining serialized testing on the grizzly branch. Change-Id: I03ded120c0b496026e39f14f6715624a91ac7558
1 parent 6fcc543 commit fc1808b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tox.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,19 @@ commands =
4141
nosetests --logging-format '%(asctime)-15s %(message)s' --with-xunit -sv --attr=type=smoke --xunit-file=nosetests-smoke.xml tempest
4242

4343

44+
[testenv:smoke-serial]
45+
sitepackages = True
46+
setenv = VIRTUAL_ENV={envdir}
47+
NOSE_WITH_OPENSTACK=1
48+
NOSE_OPENSTACK_COLOR=1
49+
NOSE_OPENSTACK_RED=15
50+
NOSE_OPENSTACK_YELLOW=3
51+
NOSE_OPENSTACK_SHOW_ELAPSED=1
52+
NOSE_OPENSTACK_STDOUT=1
53+
commands =
54+
nosetests --logging-format '%(asctime)-15s %(message)s' --with-xunit -sv --attr=type=smoke --xunit-file=nosetests-smoke.xml tempest
55+
56+
4457
[testenv:coverage]
4558
sitepackages = True
4659
setenv = VIRTUAL_ENV={envdir}

0 commit comments

Comments
 (0)