Update testrepository configuration

This change is a copy of nova testrepository configuration file.

Since we use oslo.test we can now record the stdout and stderr of each
test and print them only is a test fail. This also ensure the printed
log is located into the failing tests.

It also sets a timeout of 160 for each test instead of waiting
indefinitely.

Change-Id: If8e847643d7812a3e595faff171cdc094f5642f4
This commit is contained in:
Mehdi Abaakouk 2014-05-23 17:45:08 +02:00
parent 4bfa2f4a7d
commit 7a2a8b82b2
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
[DEFAULT]
test_command=${PYTHON:-python} -m subunit.run discover ceilometer $LISTOPT $IDOPTION
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover ceilometer $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list