heat/heat_integrationtests
Zane Bitter 92101b18e2 Ignore conditions when reparsing ResourceDefinition
In the legacy path we reparse a resource definition to refer to a different
StackDefinition when copying a resource definition into the existing
template (as the resource is updated) or into the backup stack's template.
However, the resources 'condition' may reference conditionals that are not
defined in the template it is being copied into (e.g. during a stack update
that creates a new condition), and in this case the destination template
will become unusable.

Since the fact that we care about the resource definition at all indicates
that the condition was enabled, just ignore the condition after reparsing.
This is consistent with what we do for 'if' macros, which is to resolve the
condition part during reparsing.

Change-Id: I59a374435f6275badc8124efbd7b7db2e36e2de5
Story: #2003558
Task: 24847
2018-08-23 20:03:55 -04:00
..
common Fix races in conditionals tests 2018-02-07 20:22:24 -05:00
functional Ignore conditions when reparsing ResourceDefinition 2018-08-23 20:03:55 -04:00
locale Imported Translations from Zanata 2018-03-12 06:43:23 +00:00
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
README.rst Fix README.rst for in-tree functional tests 2018-02-05 16:34:50 +05:30
__init__.py Allow run tests for both tempest plugin and regression tests 2018-01-19 13:26:25 -05:00
cleanup_test_env.sh Update test image 2018-01-29 21:14:55 +08:00
config-generator.conf Allow run tests for both tempest plugin and regression tests 2018-01-19 13:26:25 -05:00
post_test_hook.sh Remove tests for Interop Tests for add-on trademark program 2018-01-19 13:36:49 -05:00
pre_test_hook.sh Stop testing neutron-lbaas in gate jobs 2018-05-31 10:04:21 +05:30
prepare_test_env.sh Update comments on skipped tests 2018-06-08 18:19:47 -04:00
prepare_test_network.sh Run the specified set of tests in grenade-multinode job 2018-03-02 12:16:51 +07:00

README.rst

Heat integration tests

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

To run the tests against DevStack, do the following:

export DEST=/opt/stack

# create test resources and write config
$DEST/heat/heat_integrationtests/prepare_test_env.sh
$DEST/heat/heat_integrationtests/prepare_test_network.sh

# run the heat integration tests
cd $DEST/heat
stestr --test-path=heat_integrationtests run

If the Heat Tempest Plugin is also installed, the tests from that will be run as well.

If custom configuration is required, add it in the file heat_integrationtests/heat_integrationtests.conf. A sample configuration is available in heat_integrationtests/heat_integrationtests.conf.sample