Grenade: Run select heat_integrationtests instead of tempest smoke

Only a few tests are run because these tests only verify the
sanity of the build rather than doing the upgrade tests itself. 

Closes-Bug: #1482152
partial blueprint upgrade-tests

Change-Id: I8fed19bd25cc3a62c03c35afafe2b662551dbd4e
This commit is contained in:
Sirushti Murugesan 2015-08-06 16:56:09 +05:30
parent b14bee0635
commit ba4a7026c7
3 changed files with 13 additions and 0 deletions

View File

@ -32,6 +32,11 @@ function _heat_set_user {
}
function create {
# run heat_integrationtests instead of tempest smoke before create
pushd $BASE_DEVSTACK_DIR/../heat
tox -eintegration heat_integrationtests.functional.test_create_update
popd
# creates a tenant for the server
eval $(openstack project create -f shell -c id $HEAT_PROJECT)
if [[ -z "$id" ]]; then

View File

@ -2,3 +2,5 @@ register_project_for_upgrade heat
register_db_to_save heat
devstack_localrc base enable_service h-api h-api-cfn h-api-cw h-eng heat tempest ceilometer-alarm-evaluator ceilometer-alarm-notifier ceilometer-anotification
devstack_localrc target enable_service h-api h-api-cfn h-api-cw h-eng heat tempest ceilometer-alarm-evaluator ceilometer-alarm-notifier ceilometer-anotification
BASE_RUN_SMOKE=False
TARGET_RUN_SMOKE=False

View File

@ -82,6 +82,12 @@ start_heat
# Don't succeed unless the services come up
ensure_services_started heat-api heat-engine heat-api-cloudwatch heat-api-cfn
# run heat_integrationtests instead of tempest smoke after upgrade
pushd $TARGET_DEVSTACK_DIR/../heat
source $TARGET_DEVSTACK_DIR/openrc demo demo
tox -eintegration heat_integrationtests.functional.test_create_update
popd
set +o xtrace
echo "*********************************************************************"
echo "SUCCESS: End $0"