Introduce a small delay between functional tests, to allow CTRL-C abort
This commit is contained in:
parent
35b9a4d044
commit
25f8a2cefd
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue