Run fullstack without concurrency

Currently run all fullstack tests without concurrency
as some tests require it and some dont.
Later work will split this to two fullstack jobs
with and without tests concurrency.

Change-Id: I44e610c8982585bfe460c92f10f315586b80f86d
This commit is contained in:
Gal Sagie 2016-04-06 10:20:44 +03:00
parent 55fedd0a10
commit 731fa21d9b
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#! /bin/sh
TESTRARGS=$1
exec 3>&1
status=$(exec 4>&1 >&3; ( python setup.py testr --slowest --testr-args="--concurrency=1 --subunit $TESTRARGS"; echo $? >&4 ) | $(dirname $0)/subunit-trace.py -f) && exit $status

View File

@ -19,6 +19,8 @@ commands =
[testenv:fullstack]
basepython = python2.7
setenv = OS_TEST_PATH=./dragonflow/tests/fullstack
commands =
sh tools/pretty_tox_no_concurrency.sh '{posargs}'
[testenv:pep8]
commands =