testcommit debug

Change-Id: Ibbceb6f29e7595a8b2b89007b4340f35a768df61
This commit is contained in:
Evgeny Sikachev 2017-03-16 16:28:49 +04:00
parent 9a53585ecc
commit 86b9e9305c
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ run_tests() {
# Temporary use additional log file, due to wrong status code from tox scenario tests
pushd $SAHARA_TESTS_PATH
# tox -e scenario -- --verbose -V $template_vars_file $scenario_credentials $scenario_edp $scenario_config || failure "Integration tests are failed"
sleep 1h
tox -e venv -- sahara-scenario --verbose -V $template_vars_file $scenario_edp $scenario_config | tee tox.log
STATUS=$(grep "\ -\ Failed" tox.log | awk '{print $3}')
if [ "$STATUS" != "0" ]; then failure "Integration tests have failed"; fi