heat/heat_integrationtests
Thomas Herve 4a500125b3 Sleep between check_resource calls
Instead of calling check_resource on all leaves in the resource graph at
once, sleep a little bit between each call. As it's a tad slower,
delegate it to a thread so that the stack_create RPC message doesn't
timeout when you have lots of resources.

Change-Id: I84d2b34d65b3ce7d8d858de106dac531aff509b7
Partial-Bug: #1566845
2017-03-13 15:28:20 +00:00
..
api Merge "Add gabbi tests for resource REST API" 2017-01-24 06:56:33 +00:00
common Fix missing spaces in strings 2017-03-03 03:48:14 +00:00
functional Encode exception message in tests 2017-02-28 09:47:05 +01: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-13 15:28:20 +00:00
prepare_test_env.sh Switch image mirror 2017-02-28 10:41:38 +01:00
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