deb-heat/heat_integrationtests
rabi 437c5e7c4f Fix handle_restore for server and volume resources
When resource references are used for properties restore
does not work for nova server and volume resources.

This patch fixes it and adds a functional test for it.

 Conflicts:
	heat/engine/resources/openstack/nova/server.py

There is very minor conflict in server.py as the code
has been changed in pike for translation refactoring.

Change-Id: I34efb3f4e0d3578d95134793f5c5d413667790e0
Closes-Bug: #1687009
(cherry picked from commit a8129573d2)
2017-05-25 17:16:12 +05:30
..
api Merge "Add gabbi tests for resource REST API" 2017-01-24 06:56:33 +00:00
common Fix handle_restore for server and volume resources 2017-05-25 17:16:12 +05:30
functional Fix handle_restore for server and volume resources 2017-05-25 17:16:12 +05:30
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