Migrate to stestr
With the latests changes to os-testr[0] it now expects a .stestr.conf file instead of a .testr.conf file. This change migrates the testing suite from using testr to use stestr instead. [0] http://lists.openstack.org/pipermail/openstack-dev/2017-September/122135.html Change-Id: Ie0de862f2192491fa7752af03c8c03b3ee36337achanges/42/504442/3
parent
30eb190995
commit
71e543152e
@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
test_path=${OS_TEST_PATH:-./keystone/tests/unit}
|
||||
top_dir=./
|
||||
group_regex=.*(test_cert_setup)
|
@ -1,16 +0,0 @@
|
||||
[DEFAULT]
|
||||
test_command=
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./keystone/tests/unit} $LISTOPT $IDOPTION
|
||||
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
group_regex=.*(test_cert_setup)
|
||||
|
||||
|
||||
# NOTE(morganfainberg): If single-worker mode is wanted (e.g. for live tests)
|
||||
# the environment variable ``TEST_RUN_CONCURRENCY`` should be set to ``1``. If
|
||||
# a non-default (1 worker per available core) concurrency is desired, set
|
||||
# environment variable ``TEST_RUN_CONCURRENCY`` to the desired number of
|
||||
# workers.
|
||||
test_run_concurrency=echo ${TEST_RUN_CONCURRENCY:-0}
|
||||
|
Loading…
Reference in New Issue