From 7a2a8b82b2f7f12298013b1c9fc492ec1bc93517 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Fri, 23 May 2014 17:45:08 +0200 Subject: [PATCH] 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 --- .testr.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index 0c6e4445fd..40b59b4a14 100644 --- a/.testr.conf +++ b/.testr.conf @@ -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