aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/.testr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'keystone-moon/.testr.conf')
-rw-r--r--keystone-moon/.testr.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/keystone-moon/.testr.conf b/keystone-moon/.testr.conf
new file mode 100644
index 00000000..74698954
--- /dev/null
+++ b/keystone-moon/.testr.conf
@@ -0,0 +1,19 @@
+[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 ./ ${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}
+