Enable OS_LOG_CAPTURE so that logs can be seen (on error)

Enable OS_LOG_CAPTURE so that logs can be seen on error. This
helps to debug issues when a particular test fails on the gate.

Change-Id: Ib66adff0a3864e9bc78d67f09d308f36236f5a5b
This commit is contained in:
Vilobh Meshram 2016-02-08 14:56:23 -08:00
parent 6f0d0f5506
commit c02b57348e
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
[DEFAULT]
test_command=${PYTHON:-python} -m subunit.run discover tooz $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} \
OS_DEBUG=${OS_DEBUG:-TRACE} \
OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \
${PYTHON:-python} -m subunit.run discover tooz $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list