heat/heat_integrationtests
Rabi Mishra 84c908ca9e Add disk size to the flavors
Nova has added a default policy
os_compute_api:servers:create:zero_disk_flavor to admin-only,
that will prevent non-admins from creating image-backed servers
with a flavor that has disk=0 which is potential a security
exposure.

Add appropriate disk size to flavors we use in tests.

Change-Id: I9c0af0b40fc5b5c33de7f0c690d156ed2bac2f15
2019-02-15 20:35:29 +05:30
..
common Fix races in conditionals tests 2018-02-07 20:22:24 -05:00
functional Add functional test for legacy in-place update 2018-09-03 09:57:39 +05:30
locale Imported Translations from Zanata 2018-03-12 06:43:23 +00:00
__init__.py Allow run tests for both tempest plugin and regression tests 2018-01-19 13:26:25 -05:00
cleanup_test_env.sh Bump minimal_image_ref 2018-12-19 15:39:36 +05:30
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 Bump minimal_image_ref 2018-12-19 15:39:36 +05:30
pre_test_hook.sh Use fedora 29 image from nodepool mirror 2018-11-28 13:05:31 +05:30
prepare_test_env.sh Add disk size to the flavors 2019-02-15 20:35:29 +05:30
prepare_test_network.sh Bump minimal_image_ref 2018-12-19 15:39:36 +05:30
README.rst Fix README.rst for in-tree functional tests 2018-02-05 16:34:50 +05:30

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