heat/heat_integrationtests
Zane Bitter 41b8e44d1e Fix races in SoftwareDeploymentGroupTest
Don't assume that we can get the physical IDs of all of the
SoftwareDeployment resources as soon as the stack becomes
CREATE_IN_PROGRESS. 4dd67bb1aa reads them
again once the stack is COMPLETE; this patch also uses the same physical
resource IDs to verify the update.

Also, make sure all of the resources are IN_PROGRESS before trying to
signal them, because the signal_resources() utility method only signals
resources that are IN_PROGRESS.

Change-Id: I9787a5de5e4272a3ab370f653182aa9283ae01c0
Closes-Bug: #1697794
Closes-Bug: #1626073
Closes-Bug: #1625921
2017-06-14 16:31:54 -04:00
..
api Remove encoding for application/json in response 2017-03-30 10:03:49 +05:30
common Fix handle_restore for server and volume resources 2017-05-19 11:56:27 +05:30
functional Fix races in SoftwareDeploymentGroupTest 2017-06-14 16:31:54 -04:00
locale/ja/LC_MESSAGES Imported Translations from Zanata 2017-05-02 10:32:02 +00:00
scenario Allow retries when resource acquires lock 2017-05-03 18:24:46 -04:00
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
.gitignore 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 Use group_regex to group gabbi api tests 2017-05-05 07:29:40 +05:30
pre_test_hook.sh Merge "Replace deprecated notification_driver in tests" 2017-03-14 09:31:56 +00:00
prepare_test_env.sh Revert "Enable heat to use uwsgi with devstack" 2017-06-07 11:36:11 +00:00
prepare_test_network.sh Use osc commands for creating neutron resources 2016-10-20 15:42:40 +05:30
README.rst Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00

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