summaryrefslogtreecommitdiff
path: root/.testr.conf
diff options
context:
space:
mode:
authorBen Nemec <bnemec@redhat.com>2014-04-01 16:34:46 -0500
committerBen Nemec <bnemec@redhat.com>2014-09-30 16:39:21 -0500
commit58d6c6478aba796d89ab0ff47b4ec0fc55046269 (patch)
tree37b386e951c0ad35cffce7478b976c7dec1f3f88 /.testr.conf
parent4690471f6c40fe9119cbdae808c3e42bfd3702fe (diff)
Add unit test for cache-url
A sanity check that cache-url does the right thing when presented with the appropriate curl return codes. This change brings in the test code for scripts from tripleo-image-elements, which needs to be factored out into a place both projects can use it. I'm stubbing out curl so we don't have a dep on curl in our unit tests, and because I've seen some strange behavior out of curl in the gate that caused random failures in this test. Change-Id: I31e6b06b45415feec7285511d07e65eb78d0d045
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Ghe Rivero <ghe.rivero@gmail.com> Code-Review+2: Tomas Sedovic <tomas@sedovic.cz> Workflow+1: Ben Nemec <openstack@nemebean.com> Code-Review+2: Jay Dobies <jason.dobies@redhat.com> Submitted-by: Jenkins Submitted-at: Thu, 02 Oct 2014 20:28:27 +0000 Reviewed-on: https://review.openstack.org/84493 Project: openstack/diskimage-builder Branch: refs/heads/master
Diffstat (limited to '.testr.conf')
-rw-r--r--.testr.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/.testr.conf b/.testr.conf
index e77dcc7..25d7f8d 100644
--- a/.testr.conf
+++ b/.testr.conf
@@ -1,5 +1,10 @@
1[DEFAULT] 1[DEFAULT]
2test_command=python -m subunit.run discover . $LISTOPT $IDOPTION 2test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
3 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
4 OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \
5 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
6 OS_DEBUG=${OS_DEBUG:-0} \
7 python -m subunit.run discover . $LISTOPT $IDOPTION
3test_id_option=--load-list $IDFILE 8test_id_option=--load-list $IDFILE
4test_list_option=--list 9test_list_option=--list
5 10