heat/heat_integrationtests
ricolin 3aeaefc29f Non-destructive upgrade for deprecated resources
If you attempt to update a stack containing
OS::Heat::SoftwareDeployments resources, so it uses the new
non-deprecated OS::Heat::SoftwareDeploymentGroup type instead, it
deletes the group, and all of the deployments.

This means that any deployment "actions" property will be
misinterpreted, e.g if you have actions: CREATE, all the deployments
will re-run on the update, even though it's an update, not a create.

This issue exists on all deprecated resoruces, when we trying to upgrade
to new version of it by update.

This patch fix above update issue by check if resoruce was deprecated
and been update by replacing resource (which is the parent class of
existing resource).

Change-Id: Ib7880120a90c4497a7ceea53eee55c220a28d14e
Closes-Bug: #1528958
2016-09-02 13:09:11 +08:00
..
common Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
functional Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
scenario Add scenario test_server_signal 2016-08-04 02:04:50 +00:00
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
README.rst Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
install-requirements Create integration tests requirements on the fly 2016-03-25 13:40:50 +00:00
plugin.py Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
post_test_hook.sh Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
pre_test_hook.sh Fix path_in_stack for scheduler hints 2016-08-05 10:21:10 +00:00
prepare_test_env.sh Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
prepare_test_network.sh Use openstack commands for prepare_test_network.sh 2016-06-29 20:57:22 +00:00

README.rst

Heat integration tests

These tests can be run as a tempest plugin against any heat-enabled OpenStack cloud, however defaults match running against a recent DevStack.

To run the tests against DevStack, do the following:

# Define DEST

export DEST=/opt/stack

# create test resources and write tempest config

$DEST/heat/heat_integrationtests/prepare_test_env.sh $DEST/heat/heat_integrationtests/prepare_test_network.sh

# run tempest selecting only these tests

cd $DEST/tempest tempest run --regex heat_integrationtests

If custom configuration is required, edit the [heat_plugin] section of

$DEST/tempest/etc/tempest.conf