From 25f8a2cefd1acc19e3de76dc28badf52353f75e6 Mon Sep 17 00:00:00 2001 From: sneakypete81 Date: Thu, 12 Sep 2013 19:56:12 +0100 Subject: [PATCH] Introduce a small delay between functional tests, to allow CTRL-C abort --- run_functional_tests | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run_functional_tests b/run_functional_tests index c918073..896e413 100755 --- a/run_functional_tests +++ b/run_functional_tests @@ -9,6 +9,7 @@ tput setaf 3 echo echo "Testing latest self-hosted site..." tput sgr0 +sleep 1 export TROVEBOX_TEST_CONFIG=test unset TROVEBOX_TEST_SERVER_API python -m unittest discover --catch tests/functional @@ -19,6 +20,7 @@ tput setaf 3 echo echo "Testing APIv1 self-hosted site..." tput sgr0 +sleep 1 export TROVEBOX_TEST_CONFIG=test-apiv1 export TROVEBOX_TEST_SERVER_API=1 python -m unittest discover --catch tests/functional @@ -29,6 +31,7 @@ tput setaf 3 echo echo "Testing v3.0.8 self-hosted site..." tput sgr0 +sleep 1 export TROVEBOX_TEST_CONFIG=test-3.0.8 unset TROVEBOX_TEST_SERVER_API python -m unittest discover --catch tests/functional @@ -38,6 +41,7 @@ tput setaf 3 echo echo "Testing latest hosted site..." tput sgr0 +sleep 1 export TROVEBOX_TEST_CONFIG=test-hosted unset TROVEBOX_TEST_SERVER_API python -m unittest discover --catch tests/functional @@ -47,6 +51,7 @@ tput setaf 3 echo echo "Testing latest hosted site over HTTPS..." tput sgr0 +sleep 1 export TROVEBOX_TEST_CONFIG=test-hosted-https unset TROVEBOX_TEST_SERVER_API python -m unittest discover --catch tests/functional