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:
parent
55fedd0a10
commit
731fa21d9b
|
@ -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
|
2
tox.ini
2
tox.ini
|
@ -19,6 +19,8 @@ commands =
|
||||||
[testenv:fullstack]
|
[testenv:fullstack]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
setenv = OS_TEST_PATH=./dragonflow/tests/fullstack
|
setenv = OS_TEST_PATH=./dragonflow/tests/fullstack
|
||||||
|
commands =
|
||||||
|
sh tools/pretty_tox_no_concurrency.sh '{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue