b556854633
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
20 lines
733 B
Plaintext
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}
|
|
|