deb-heat/heat_integrationtests
Thomas Herve d0309937b3 Copy template version when update fails
When an update fails, we may have copy some chunk of resources or
parameters to the new template. If the version was updated and the new
resources require the version, this can lead to a state where the stack
is in an usable state. This synchronizes the version when a failure
happens.

Change-Id: I2faf8f3541fc800ea61c417e5575f4a56a83665b
Closes-Bug: #1620696
(cherry picked from commit 45fde10197)
2017-05-15 09:27:49 +00:00
..
api Merge "Add gabbi tests for resource REST API" 2017-01-24 06:56:33 +00:00
common Use os_cache in place of no_cache 2017-01-20 08:07:10 +05:30
functional Copy template version when update fails 2017-05-15 09:27:49 +00:00
scenario Merge "Do not set the mime-type for userdata" 2016-12-15 03:10:04 +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
cleanup_test_env.sh Cleanup test env after tests 2016-12-13 05:45:34 +00: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 Cleanup test env after tests 2016-12-13 05:45:34 +00:00
pre_test_hook.sh Sleep between check_resource calls 2017-03-14 08:23:11 +00:00
prepare_test_env.sh Skip test_server_signal_userdata_format_software_config 2016-12-22 11:44:41 +05:30
prepare_test_network.sh Use osc commands for creating neutron resources 2016-10-20 15:42:40 +05:30

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