keystone/.testr.conf
Brant Knudson b556854633 Fix parallel unit tests keystoneclient partial checkout
The unit tests were failing with an error that keystoneclient
didn't have some modules (usually v2_0). This was because the
tests were running in separate workers when they should have been
running in a single worker to ensure that the checkout was done by
a single worker.

Change-Id: I33262dd82aaebe8e0ff0f9faf5c5612efb20f551
Closes-Bug: #1301664
2014-04-02 19:19:59 -05:00

20 lines
733 B
Plaintext

[DEFAULT]
test_command=
OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \
${PYTHON:-python} -m subunit.run discover -t ./ ./keystone/tests $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
group_regex=.*(test_cert_setup|test_keystoneclient)
# 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}