Merge "Fix post-execution for tempest tests" into stable/queens

This commit is contained in:
Zuul 2018-07-19 20:15:23 +00:00 committed by Gerrit Code Review
commit 4b1614ac11
1 changed files with 2 additions and 2 deletions

View File

@ -370,8 +370,8 @@ fi
echo "Running tempest manila test suites"
cd $BASE/new/tempest/
sudo -H -u $USER tempest run -r $MANILA_TESTS --concurrency=$MANILA_TEMPEST_CONCURRENCY
cd -
RETVAL=$?
cd -
# If using the dummy driver, configure the second run. We can't use the
@ -394,8 +394,8 @@ if [[ "$DRIVER" == "dummy" ]]; then
echo "Running tempest manila test suites for DHSS=False mode"
cd $BASE/new/tempest/
sudo -H -u $USER tempest run -r $MANILA_TESTS --concurrency=$MANILA_TEMPEST_CONCURRENCY
cd -
RETVAL2=$?
cd -
save_tempest_results 2
# Exit with last code if first succeeded else exit with first error code