Tempest Gate Fix

Removed the last line of 'unset DEVSTACK_PATH' since it looks like
 it messed Jenkins call regarding the success of the job. The above will
 always return return-code 0 meaning success and this hides the tempest
 run return-code of 1 if some test fails

Change-Id: If4591c9e0c70bfc73cf8024cf9da84b58e1f09a9
This commit is contained in:
Noam Bloom 2016-05-26 19:35:27 +03:00
parent e51469f294
commit 38a40b3e2e

View File

@ -44,4 +44,3 @@ echo "Listing existing Tempest tests"
(cd $DEVSTACK_PATH/tempest/; sudo sh -c 'testr list-tests vitrage_tempest_tests | grep -E '$TESTS' > vitrage_tempest_tests.list')
echo "Testing $1: $TESTS..."
(cd $DEVSTACK_PATH/tempest/; sudo sh -c 'testr run --subunit --load-list=vitrage_tempest_tests.list | subunit-trace --fails')
unset DEVSTACK_PATH